File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,23 @@ jobs:
5858 with :
5959 path : ' ./lectures/_build/html'
6060
61- - name : Preview Deploy to Netlify
61+ - name : Deploy Preview to Netlify
6262 uses : nwtgck/actions-netlify@v3
6363 with :
6464 publish-dir : ' ./lectures/_build/html'
6565 production-branch : main
66+ production-deploy : false
6667 github-token : ${{ secrets.GITHUB_TOKEN }}
67- deploy-message : " Preview Deploy from GitHub Actions"
68+ deploy-message : |
69+ Deploy from PR #${{ github.event.number }}
70+ Branch: ${{ github.head_ref }}
71+ Commit: ${{ github.sha }}
72+ alias : pr-${{ github.event.number }}
73+ enable-pull-request-comment : true
74+ enable-commit-comment : false
75+ enable-commit-status : true
76+ overwrites-pull-request-comment : true
6877 env :
6978 NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
7079 NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
80+ timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments