Skip to content

Commit

Permalink
docs: Improve concurrency usage
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jul 12, 2021
1 parent 903b945 commit 20d6724
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 20d6724

Please sign in to comment.