diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 59e439f8..5e7044ae 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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'