Skip to content

Commit

Permalink
chore: add conditional to the branch naming
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Jan 17, 2024
1 parent 2a59036 commit 8860b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to.
# By default this will be the branch which triggered this workflow
branch: refs/pull/${{ github.event.number }}/merge
branch: ${{ if(github.ref == 'refs/heads/dev', 'dev', refs/pull/${{ github.event.number }}/merge') }}
# Optional: Change the working directory
workingDirectory: apps/www
wranglerVersion: '3'
Expand Down

0 comments on commit 8860b44

Please sign in to comment.