We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3190cfe commit fa33df2Copy full SHA for fa33df2
1 file changed
.github/workflows/deploy-on-release.yml
@@ -8,8 +8,10 @@ jobs:
8
deploy:
9
runs-on: ubuntu-latest
10
steps:
11
- - name: Checkout code
+ - name: Checkout main branch
12
uses: actions/checkout@v4
13
+ with:
14
+ ref: main # 👈 Explicitly check out main
15
16
- name: Deploy to Vercel
17
uses: amondnet/vercel-action@v25
@@ -18,5 +20,5 @@ jobs:
18
20
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
19
21
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
22
working-directory: ./
- scope: ${{ secrets.VERCEL_SCOPE }} # optional
- prod: true
23
+ scope: ${{ secrets.VERCEL_SCOPE }}
24
+ prod: true # still needed to mark it as a production deploy
0 commit comments