Skip to content

Commit

Permalink
Merge pull request #343 from aversini/docs-trying-to-add-conditions-t…
Browse files Browse the repository at this point in the history
…o-deployments

docs: trying to add conditions to deployments
  • Loading branch information
aversini authored Feb 25, 2024
2 parents 35fc925 + 8eaddc1 commit 2eebe1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:

env:
COREPACK_ENABLE_STRICT: 0
PR_TITLE: ${{ github.event.pull_request.title }}

# Allow only one concurrent deployment, skipping runs queued between
# the run in-progress and latest queued.
Expand All @@ -23,6 +24,7 @@ concurrency:

jobs:
deploy:
if: ! contains(env.PR_TITLE, 'no-deploy')
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 2eebe1f

Please sign in to comment.