Skip to content

Commit

Permalink
ci(gh-pages): don't deploy from multiple branches at the same time
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Mertens <[email protected]>

commit-id:1ec1f06f
  • Loading branch information
lukas-mertens committed Mar 20, 2024
1 parent d54cc1e commit 45b589e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/package-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
needs: package
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
concurrency:
group: github-pages
cancel-in-progress: false
env:
SUBDIR: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || 'main' }}
steps:
Expand Down

0 comments on commit 45b589e

Please sign in to comment.