Skip to content

Commit

Permalink
chore: Use build hook for docs deploy (#15945)
Browse files Browse the repository at this point in the history
* chore: Use build hook for docs deploy

* Add --prod flag
  • Loading branch information
nzakas committed Jun 1, 2022
1 parent ce035e5 commit f836743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
npm install
npm run build
npx netlify deploy --dir=_site --message='Docs deploy ${{ github.event.release.tag_name }}'
npx netlify deploy --dir=_site --message='Docs deploy ${{ github.event.release.tag_name }}' --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
Expand Down

0 comments on commit f836743

Please sign in to comment.