mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 21:15:31 -04:00
Update deploy.yml
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build & Deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -14,6 +14,11 @@ jobs:
|
|||||||
uses: peaceiris/actions-hugo@v0.57.2
|
uses: peaceiris/actions-hugo@v0.57.2
|
||||||
with:
|
with:
|
||||||
args: --gc -b "/"
|
args: --gc -b "/"
|
||||||
|
- name: test artifact
|
||||||
|
uses: actions/upload-artifact@master
|
||||||
|
with:
|
||||||
|
name: public
|
||||||
|
path: ./public
|
||||||
- name: Purge cache
|
- name: Purge cache
|
||||||
uses: jakejarvis/cloudflare-purge-action@master
|
uses: jakejarvis/cloudflare-purge-action@master
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user