Skip to content

Commit

Permalink
chore: Add concurrency settings to deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindwen committed Jul 7, 2024
1 parent f32f1e7 commit 2c79493
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
name: deploy

on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]

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

jobs:
deploy:
environment: prod
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 2c79493

Please sign in to comment.