Skip to content

Commit

Permalink
deploy v1-add netlify site ID and auth ID
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed May 15, 2024
1 parent 229d7f3 commit 30716f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ jobs:
- name: Deploy to Netlify
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: netlify deploy --prod --dir=.next --functions=netlify/functions --site ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: netlify deploy --auth $NETLIFY_AUTH_TOKEN --site $NETLIFY_SITE_ID --prod --dir=.next --functions=netlify/functions

0 comments on commit 30716f4

Please sign in to comment.