Skip to content

Commit 792f0a9

Browse files
committed
Use a fixed version of CSpell container
1 parent 67a1eaa commit 792f0a9

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/deploy-dev.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: CSpell English
2222
run: task spell-check
2323
build:
24+
needs: spell-checker
2425
runs-on: ubuntu-latest
2526
container: ghcr.io/cn-docker/hugo:v0.157.0
2627
steps:
@@ -37,9 +38,9 @@ jobs:
3738
path: public
3839
retention-days: 1
3940
publish:
41+
needs: build
4042
environment: development
4143
runs-on: ubuntu-latest
42-
needs: build
4344
steps:
4445
- name: Download the built site
4546
uses: actions/download-artifact@v8

.github/workflows/deploy-prod.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: CSpell English
2626
run: task spell-check
2727
build:
28+
needs: spell-checker
2829
runs-on: ubuntu-latest
2930
container: ghcr.io/cn-docker/hugo:v0.157.0
3031
steps:
@@ -41,9 +42,9 @@ jobs:
4142
path: public
4243
retention-days: 8
4344
publish:
45+
needs: build
4446
environment: production
4547
runs-on: ubuntu-latest
46-
needs: build
4748
steps:
4849
- name: Checkout
4950
uses: actions/checkout@v6
@@ -67,9 +68,9 @@ jobs:
6768
commit-message: Publish revision ${{ github.sha }}
6869
user-email: learn.software.eng@gmail.com
6970
index-now:
71+
needs: publish
7072
runs-on: ubuntu-latest
7173
container: ghcr.io/cn-docker/hugo:v0.157.0
72-
needs: publish
7374
steps:
7475
- name: Checkout
7576
uses: actions/checkout@v6

.github/workflows/pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- name: CSpell
1616
run: task spell-check
1717
build:
18+
needs: spell-checker
1819
runs-on: ubuntu-latest
1920
container: ghcr.io/cn-docker/hugo:v0.157.0
2021
env:

0 commit comments

Comments
 (0)