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:
|
||||
branches: [master]
|
||||
paths: ["site/**"]
|
||||
concurrency:
|
||||
group: site
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
site:
|
||||
name: Deploy site
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel previous builds
|
||||
uses: styfle/cancel-workflow-action@0.9.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build
|
||||
|
|
Loading…
Reference in a new issue