clap/.github/workflows/site.yml

24 lines
511 B
YAML
Raw Normal View History

2020-11-13 23:39:23 +00:00
name: Site
on:
push:
branches: [master]
paths: ["site/**"]
jobs:
site:
name: Deploy site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
2021-04-03 23:40:28 +00:00
- name: Build
2020-11-13 23:39:23 +00:00
uses: shalzz/zola-deploy-action@master
env:
BUILD_DIR: site
2021-04-03 23:40:28 +00:00
BUILD_ONLY: true
- name: Deploy
if: ${{ success() }}
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: site/public