Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FotieMConstant authored Sep 22, 2024
1 parent 750bbd8 commit 1b53e94
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ jobs:
run: |
cd docs-beta
npm run build
- name: Set Vercel root directory via API
run: |
curl -X PATCH "https://api.vercel.com/v9/projects/${{ secrets.VERCEL_PROJECT_ID }}" \
-H "Authorization: Bearer ${{ secrets.VERCEL_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{
"rootDirectory": ""
}'
- name: Deploy to Vercel
uses: amondnet/vercel-action@v20
with:
Expand Down

0 comments on commit 1b53e94

Please sign in to comment.