Skip to content

Commit

Permalink
Add cancelling old pipelines for deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Jul 26, 2024
1 parent ca86e5a commit 90e78b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
- wasm-demo

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
PUBLISH_DIR: Material.Avalonia.Demo.Browser/bin/Release/net8.0-browser/browser-wasm/AppBundle/

Expand Down Expand Up @@ -46,7 +50,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.PUBLISH_DIR }}

# Deploy job
deploy:
name: "Deploy Material.Avalonia.Demo.Browser to GitHub Pages"
Expand Down

0 comments on commit 90e78b6

Please sign in to comment.