Skip to content

Commit fa33df2

Browse files
chore: fix deploy
1 parent 3190cfe commit fa33df2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deploy-on-release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout code
11+
- name: Checkout main branch
1212
uses: actions/checkout@v4
13+
with:
14+
ref: main # 👈 Explicitly check out main
1315

1416
- name: Deploy to Vercel
1517
uses: amondnet/vercel-action@v25
@@ -18,5 +20,5 @@ jobs:
1820
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
1921
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
2022
working-directory: ./
21-
scope: ${{ secrets.VERCEL_SCOPE }} # optional
22-
prod: true
23+
scope: ${{ secrets.VERCEL_SCOPE }}
24+
prod: true # still needed to mark it as a production deploy

0 commit comments

Comments
 (0)