clap/.github/workflows/site.yml
Ed Page 598b87196a fix(ci): Restore serialization of site deployment
When removing `concurrency`, I overlooked this case where we want to
serialize deployments.

Queuing deployments also doesn't give us much.  I switched from using an
action for this to using built-in support.
2021-10-08 09:23:35 -05:00

26 lines
565 B
YAML

name: Site
on:
push:
branches: [master]
paths: ["site/**"]
concurrency:
group: site
cancel-in-progress: true
jobs:
site:
name: Deploy site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: shalzz/zola-deploy-action@master
env:
BUILD_DIR: site
BUILD_ONLY: true
- name: Deploy
if: ${{ success() }}
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: site/public