File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -59,17 +59,14 @@ jobs:
59
59
- run : npm install
60
60
- run : npm run build
61
61
62
- - name : Deploy preview to Netlify
63
- uses : nwtgck/actions-netlify@v3.0
64
- with :
65
- publish-dir : ' ./public'
66
- github-token : ${{ secrets.GITHUB_TOKEN }}
67
- deploy-message : " Preview Deployment from Github Action"
68
- enable-pull-request-comment : true
69
- enable-commit-comment : false
70
- overwrites-pull-request-comment : true
71
- enable-github-deployment : false
72
- env :
73
- NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
74
- NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
75
- timeout-minutes : 1
62
+ - name : Install Netlify
63
+ run : npm install netlify-cli@17.23.2 -g
64
+
65
+ - name : Deploy to Netlify
66
+ id : netlify_deploy
67
+ run : |
68
+ netlify deploy \
69
+ --dir public \
70
+ --site ${{ secrets.NETLIFY_SITE_ID }} \
71
+ --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} \
72
+ --json
You can’t perform that action at this time.
0 commit comments