diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 40640d8..c8b5e88 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,11 @@ on: push: branches: [main] +# Cancel in-progress runs when a new run is triggered +concurrency: + group: deploy-${{ github.ref }} + cancel-in-progress: true + env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }}