mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 17:48:30 -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
|
||||
on: push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Build Hugo site
|
||||
uses: peaceiris/actions-hugo@v0.57.2
|
||||
with:
|
||||
args: --gc -b "/"
|
||||
- name: Purge cache
|
||||
uses: jakejarvis/cloudflare-purge-action@master
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user