docs: Improve concurrency usage

This commit is contained in:
peaceiris 2021-07-12 10:12:47 +09:00
parent 903b94526d
commit 20d6724b2c
No known key found for this signature in database
GPG key ID: 5868468A8EBA64EC

View file

@ -78,12 +78,11 @@ on:
- main # Set a branch to deploy
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
@ -244,12 +243,11 @@ on:
- main # Set a branch to deploy
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
@ -302,12 +300,11 @@ on:
- main # Set a branch to deploy
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
@ -355,12 +352,11 @@ on:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with: