From 380f1b49f51b1177d5e3c324a9f4b129942441d1 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Wed, 11 Dec 2024 12:35:28 +0200 Subject: [PATCH] Create publish-wasm-deploy.yml --- .github/workflows/publish-wasm-deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish-wasm-deploy.yml diff --git a/.github/workflows/publish-wasm-deploy.yml b/.github/workflows/publish-wasm-deploy.yml new file mode 100644 index 0000000..cd3b387 --- /dev/null +++ b/.github/workflows/publish-wasm-deploy.yml @@ -0,0 +1,19 @@ +name: Deploy WASM + +on: + workflow_dispatch: + +jobs: + deploy: + name: 'Deploy to Netlify' + steps: + - uses: actions/checkout@v4 + with: + ref: gh-pages + + - uses: jsmrcaga/action-netlify-deploy@v2.0.0 + with: + build_directory: './wwwroot' + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + NETLIFY_DEPLOY_TO_PROD: true