Skip to content

Commit 7e7d7df

Browse files
committed
docs: Add concurrency
1 parent 69f1241 commit 7e7d7df

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

README.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ on:
136136
- main # Set a branch name to trigger deployment
137137
pull_request:
138138
139+
concurrency:
140+
group: ${{ github.workflow }}-${{ github.ref }}
141+
139142
jobs:
140143
deploy:
141144
runs-on: ubuntu-18.04
@@ -148,7 +151,7 @@ jobs:
148151
- name: Setup Hugo
149152
uses: peaceiris/actions-hugo@v2
150153
with:
151-
hugo-version: '0.83.1'
154+
hugo-version: '0.85.0'
152155
153156
- name: Build
154157
run: hugo --minify
@@ -470,6 +473,9 @@ on:
470473
tags:
471474
- 'v*.*.*'
472475
476+
concurrency:
477+
group: ${{ github.workflow }}-${{ github.ref }}
478+
473479
jobs:
474480
deploy:
475481
runs-on: ubuntu-18.04
@@ -597,6 +603,9 @@ on:
597603
- cron: "22 22 * * *"
598604
workflow_dispatch:
599605
606+
concurrency:
607+
group: ${{ github.workflow }}-${{ github.ref }}
608+
600609
jobs:
601610
deploy:
602611
runs-on: ubuntu-18.04
@@ -635,6 +644,9 @@ on:
635644
- main
636645
pull_request:
637646
647+
concurrency:
648+
group: ${{ github.workflow }}-${{ github.ref }}
649+
638650
jobs:
639651
deploy:
640652
runs-on: ubuntu-18.04
@@ -681,6 +693,9 @@ on:
681693
- main
682694
pull_request:
683695
696+
concurrency:
697+
group: ${{ github.workflow }}-${{ github.ref }}
698+
684699
jobs:
685700
deploy:
686701
runs-on: ubuntu-18.04
@@ -731,6 +746,9 @@ on:
731746
- main
732747
pull_request:
733748
749+
concurrency:
750+
group: ${{ github.workflow }}-${{ github.ref }}
751+
734752
jobs:
735753
deploy:
736754
runs-on: ubuntu-18.04
@@ -784,6 +802,9 @@ on:
784802
- main
785803
pull_request:
786804
805+
concurrency:
806+
group: ${{ github.workflow }}-${{ github.ref }}
807+
787808
jobs:
788809
deploy:
789810
runs-on: ubuntu-18.04
@@ -835,6 +856,9 @@ on:
835856
- 'website/**'
836857
pull_request:
837858
859+
concurrency:
860+
group: ${{ github.workflow }}-${{ github.ref }}
861+
838862
jobs:
839863
deploy:
840864
runs-on: ubuntu-18.04
@@ -891,6 +915,9 @@ on:
891915
- main
892916
pull_request:
893917
918+
concurrency:
919+
group: ${{ github.workflow }}-${{ github.ref }}
920+
894921
jobs:
895922
deploy:
896923
runs-on: ubuntu-18.04
@@ -949,6 +976,9 @@ on:
949976
- main
950977
pull_request:
951978
979+
concurrency:
980+
group: ${{ github.workflow }}-${{ github.ref }}
981+
952982
jobs:
953983
deploy:
954984
runs-on: ubuntu-18.04
@@ -986,6 +1016,9 @@ on:
9861016
- main
9871017
pull_request:
9881018
1019+
concurrency:
1020+
group: ${{ github.workflow }}-${{ github.ref }}
1021+
9891022
jobs:
9901023
deploy:
9911024
runs-on: ubuntu-18.04
@@ -1028,6 +1061,9 @@ on:
10281061
- main
10291062
pull_request:
10301063
1064+
concurrency:
1065+
group: ${{ github.workflow }}-${{ github.ref }}
1066+
10311067
jobs:
10321068
deploy:
10331069
runs-on: ubuntu-18.04
@@ -1076,6 +1112,9 @@ on:
10761112
schedule:
10771113
- cron: '24 */24 * * *' # Once a day
10781114

1115+
concurrency:
1116+
group: ${{ github.workflow }}-${{ github.ref }}
1117+
10791118
jobs:
10801119
deploy:
10811120
runs-on: ubuntu-18.04
@@ -1106,6 +1145,9 @@ on:
11061145
- main
11071146
pull_request:
11081147

1148+
concurrency:
1149+
group: ${{ github.workflow }}-${{ github.ref }}
1150+
11091151
jobs:
11101152
deploy:
11111153
runs-on: macos-latest

0 commit comments

Comments
 (0)