File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,19 +30,13 @@ jobs:
3030 - run : npm run test
3131
3232 - run : npm run build:netlify
33-
33+
3434 - name : Deploy to Netlify
35- uses : nwtgck/actions-netlify@v3.0
36- with :
37- publish-dir : " ./dist/app/browser"
38- production-deploy : ${{ github.ref_name == 'master' }}
39- production-branch : master
40- github-token : ${{ secrets.GITHUB_TOKEN }}
41- deploy-message : " Deploy from GitHub Actions"
42- enable-pull-request-comment : false
43- enable-commit-comment : true
44- overwrites-pull-request-comment : true
45- env :
46- NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
47- NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
48- timeout-minutes : 1
35+ id : netlify_deploy
36+ run : |
37+ npx netlify deploy \
38+ --dir dist \
39+ --site ${{ secrets.NETLIFY_SITE_ID }} \
40+ --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} \
41+ --message "Production deploy" \
42+ --prod-if-unlocked
You can’t perform that action at this time.
0 commit comments