Skip to content

Commit

Permalink
Update deploytonetlify.yml
Browse files Browse the repository at this point in the history
link first?
  • Loading branch information
RobKraft authored Jul 24, 2024
1 parent 3613c74 commit 02895f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploytonetlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- name: Install Netlify CLI
run: npm install -g netlify-cli

- name: Netlify Build
run: netlify build
- name: Link Netlify site
run: netlify link --id ${{ secrets.NETLIFY_SITE_ID }}

- name: Deploy to Netlify
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: netlify deploy --prod --dir=build # Adjust the directory to your build output folder
run: npx netlify deploy --prod --dir=build # Adjust the directory to your build output folder

0 comments on commit 02895f2

Please sign in to comment.