From 70aa8532c448b56d69fc4ace9ef1eaf4f2183022 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sun, 15 Dec 2024 16:08:19 +0200 Subject: [PATCH] Deploy fix --- .github/workflows/publish-wasm-deploy.yml | 8 ++++++-- .github/workflows/publish-wasm.yml | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-wasm-deploy.yml b/.github/workflows/publish-wasm-deploy.yml index 267d93f..7dacb4b 100644 --- a/.github/workflows/publish-wasm-deploy.yml +++ b/.github/workflows/publish-wasm-deploy.yml @@ -1,11 +1,15 @@ name: Deploy WASM on: - workflow_dispatch: + workflow_run: + workflows: ["Publish WASM"] + types: + - completed jobs: deploy: name: 'Deploy to Netlify' + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: @@ -16,4 +20,4 @@ jobs: build_directory: './wwwroot' NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_DEPLOY_TO_PROD: true \ No newline at end of file + NETLIFY_DEPLOY_TO_PROD: true diff --git a/.github/workflows/publish-wasm.yml b/.github/workflows/publish-wasm.yml index caf5649..5edaff6 100644 --- a/.github/workflows/publish-wasm.yml +++ b/.github/workflows/publish-wasm.yml @@ -1,7 +1,9 @@ -name: Publish WASM and Upload +name: Publish WASM on: - workflow_dispatch: + push: + tags: + - 'v*' env: # Disable the .NET logo in the console output.