mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
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:
parent
e3b23929b3
commit
598b87196a
1 changed files with 3 additions and 4 deletions
7
.github/workflows/site.yml
vendored
7
.github/workflows/site.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue