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.
This commit is contained in:
Ed Page 2021-10-08 09:23:29 -05:00
parent e3b23929b3
commit 598b87196a

View file

@ -3,15 +3,14 @@ on:
push: push:
branches: [master] branches: [master]
paths: ["site/**"] paths: ["site/**"]
concurrency:
group: site
cancel-in-progress: true
jobs: jobs:
site: site:
name: Deploy site name: Deploy site
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cancel previous builds
uses: styfle/cancel-workflow-action@0.9.0
with:
access_token: ${{ github.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Build - name: Build