Skip to content

Commit 401540f

Browse files
committed
Update CI
1 parent 7a49e2c commit 401540f

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.github/workflows/build_only.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build Only
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches-ignore:
@@ -10,7 +14,9 @@ jobs:
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout main
13-
uses: actions/checkout@v4
17+
uses: wykies/checkout@main
18+
with:
19+
submodules: recursive
1420
- name: Build only
1521
uses: wykies/zola-deploy-action@master
1622
env:

.github/workflows/deploy_prod.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Deploy Prod
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
@@ -10,7 +14,9 @@ jobs:
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout main
13-
uses: actions/checkout@v4
17+
uses: wykies/checkout@main
18+
with:
19+
submodules: recursive
1420
- name: Build and deploy
1521
uses: wykies/zola-deploy-action@master
1622
env:

.github/workflows/deploy_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Deploy Test
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
pull_request:
59
branches:
@@ -10,7 +14,9 @@ jobs:
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout main
13-
uses: actions/checkout@v4
17+
uses: wykies/checkout@main
18+
with:
19+
submodules: recursive
1420
- name: Build and deploy
1521
uses: wykies/zola-deploy-action@master
1622
env:

0 commit comments

Comments
 (0)