Skip to content

Commit

Permalink
Update deploytonetlify.yml
Browse files Browse the repository at this point in the history
change dir from build to dist
  • Loading branch information
RobKraft authored Jul 24, 2024
1 parent 02895f2 commit dd00314
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploytonetlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
- name: Link Netlify site
run: netlify link --id ${{ secrets.NETLIFY_SITE_ID }}

- name: build netlify
run: netlify build

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

0 comments on commit dd00314

Please sign in to comment.