Skip to content

Commit

Permalink
docs: Add concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jul 11, 2021
1 parent 69f1241 commit 7e7d7df
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ on:
- main # Set a branch name to trigger deployment
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand All @@ -148,7 +151,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.83.1'
hugo-version: '0.85.0'
- name: Build
run: hugo --minify
Expand Down Expand Up @@ -470,6 +473,9 @@ on:
tags:
- 'v*.*.*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -597,6 +603,9 @@ on:
- cron: "22 22 * * *"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -635,6 +644,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -681,6 +693,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -731,6 +746,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -784,6 +802,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -835,6 +856,9 @@ on:
- 'website/**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -891,6 +915,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -949,6 +976,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -986,6 +1016,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -1028,6 +1061,9 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -1076,6 +1112,9 @@ on:
schedule:
- cron: '24 */24 * * *' # Once a day

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
deploy:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -1106,6 +1145,9 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
deploy:
runs-on: macos-latest
Expand Down

0 comments on commit 7e7d7df

Please sign in to comment.