Skip to content

Commit

Permalink
ci: skip deploy preview when push to release-please branch
Browse files Browse the repository at this point in the history
  • Loading branch information
voice0726 committed Feb 24, 2025
1 parent 1bbb259 commit 5f2755e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-non-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
deploy-preview:
name: Deploy preview
runs-on: ubuntu-latest
if: ${{ github.ref_name != 'main' }}
if: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release-please') }}
environment:
name: url
url: ${{ steps.deploy.outputs.url }}
Expand Down

0 comments on commit 5f2755e

Please # to comment.