Skip to content

Commit f836743

Browse files
authored
chore: Use build hook for docs deploy (#15945)
* chore: Use build hook for docs deploy * Add --prod flag
1 parent ce035e5 commit f836743

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
npm install
2020
npm run build
21-
npx netlify deploy --dir=_site --message='Docs deploy ${{ github.event.release.tag_name }}'
21+
npx netlify deploy --dir=_site --message='Docs deploy ${{ github.event.release.tag_name }}' --prod
2222
env:
2323
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
2424
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

0 commit comments

Comments
 (0)