Skip to content

Commit a416a99

Browse files
committed
Ensuring branch name is provided.
1 parent 60b2c62 commit a416a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4040
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
41-
command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --commit-dirty=true
41+
command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --branch ${{ github.head_ref }} --commit-dirty=true
4242

4343
- name: Add deployment comment
4444
uses: thollander/actions-comment-pull-request@v3

0 commit comments

Comments
 (0)