We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249c1ae commit c2f170bCopy full SHA for c2f170b
.github/workflows/ci.yml
@@ -17,6 +17,18 @@ jobs:
17
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
18
- run: ./zola --version
19
- run: ./zola build
20
+ - name: Netlify Preview
21
+ uses: nwtgck/actions-netlify@v1.1
22
+ with:
23
+ publish-dir: './public'
24
+ github-token: ${{ secrets.GITHUB_TOKEN }}
25
+ deploy-message: "Deploy from GitHub Actions"
26
+ enable-pull-request-comment: true
27
+ enable-commit-comment: true
28
+ overwrites-pull-request-comment: true
29
+ env:
30
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
31
+ NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
32
- name: Deploy
33
if: github.ref == 'refs/heads/source'
34
uses: crazy-max/ghaction-github-pages@v1
0 commit comments