mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
update deploy script to deploy to netlify
This commit is contained in:
parent
793d40567f
commit
312cbf1b7d
11
.github/workflows/deploy.yaml
vendored
11
.github/workflows/deploy.yaml
vendored
@ -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
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user