Skip to content

Commit 3a4c695

Browse files
authored
Update deploy.yml
1 parent 4a7180a commit 3a4c695

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@ jobs:
3232
name: github-pages
3333
url: ${{ steps.deployment.outputs.page_url }}
3434
steps:
35+
3536
- name: Deploy to GitHub Pages
3637
id: deployment
3738
uses: actions/deploy-pages@v4
39+
40+
- name: Deploy to Netlify
41+
uses: nwtgck/[email protected]
42+
with:
43+
publish-dir: './dist'
44+
production-branch: main
45+
github-token: ${{ secrets.GITHUB_TOKEN }}
46+
deploy-message: "Deploy from GitHub Actions"
47+
enable-pull-request-comment: false
48+
enable-commit-comment: true
49+
overwrites-pull-request-comment: true
50+
env:
51+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
52+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
53+
timeout-minutes: 1

0 commit comments

Comments
 (0)