Skip to content

Commit 2d1a713

Browse files
committed
Fix tragic typo in preview deploy command
1 parent 900c07d commit 2d1a713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- run: npx wrangler whoami
2323
- run: npm run build
2424
- name: Deploy --preview-alias
25-
if: "${{ github.ref_name == 'main' }}"
25+
if: "${{ github.ref_name != 'main' }}"
2626
run: wrangler versions upload --preview-alias $(git rev-parse --abbrev-ref HEAD)
2727
- name: Deploy production
2828
if: "${{ github.ref_name == 'main' }}"

0 commit comments

Comments
 (0)