update deploy script to deploy to netlify

This commit is contained in:
Matthew Wong 2022-04-12 12:46:14 -04:00
parent 793d40567f
commit 312cbf1b7d

View File

@ -28,10 +28,9 @@ jobs:
- name: Build - name: Build
run: hugo --minify run: hugo --minify
- name: Deploy - name: Deploy to Netlify
uses: peaceiris/actions-gh-pages@v3 uses: jsmrcaga/action-netlify-deploy@v1.1.0
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
publish_dir: ./public NETLIFY_SITE_ID: 9e65bb31-a460-4a21-aeba-5e7f210eb925
publish_branch: master # deploying branch build_directory: 'public'
cname: quartz.jzhao.xyz