mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 11:38:28 -04:00
Update deploy.yml
This commit is contained in:
parent
4df1ea986a
commit
088f9ed73c
13
.github/workflows/deploy.yml
vendored
13
.github/workflows/deploy.yml
vendored
@ -1,10 +1,19 @@
|
|||||||
name: Build & Deploy
|
name: Build & Deploy
|
||||||
on: push
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Build Hugo site
|
||||||
|
uses: peaceiris/actions-hugo@v0.57.2
|
||||||
|
with:
|
||||||
|
args: --gc -b "/"
|
||||||
- name: Purge cache
|
- name: Purge cache
|
||||||
uses: jakejarvis/cloudflare-purge-action@master
|
uses: jakejarvis/cloudflare-purge-action@master
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user