Skip to content

Commit f3be5ce

Browse files
committed
fix: correct workflow YAML syntax
1 parent c444ce9 commit f3be5ce

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/reusable-hugo-workflow.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ jobs:
2424
submodules: recursive
2525
fetch-depth: 0
2626

27-
- name: Install pnpm
28-
uses: pnpm/action-setup@v4
29-
with:
30-
version: latest
27+
- name: Install pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: latest
3131

32-
- name: Set up Node.js
3332
- name: Set up Node.js
3433
uses: actions/setup-node@v4
3534
with:
@@ -41,12 +40,12 @@ jobs:
4140
run: pnpm install
4241

4342
- name: Lint the source files
44-
run: pnpm run lint
43+
run: pnpm run lint
4544

4645
- name: Install Hugo CLI
4746
run: |
4847
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
49-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
48+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
5049
5150
- name: Install Dart Sass
5251
run: sudo snap install dart-sass
@@ -60,7 +59,7 @@ jobs:
6059
HUGO_ENV: production
6160
TZ: America/Los_Angeles
6261
run: |
63-
hugo --gc --minify --baseURL "${{ inputs.base_url }}" && cd public/en && cp 404.html ../404.html
62+
hugo --gc --minify --baseURL "${{ inputs.base_url }}" && cd public/en && cp 404.html ../404.html
6463
6564
- name: Upload artifact
6665
uses: actions/upload-pages-artifact@v3
@@ -91,6 +90,6 @@ jobs:
9190
${{ inputs.base_url }}/en/blog/
9291
${{ inputs.base_url }}/de/
9392
${{ inputs.base_url }}/de/blog/
94-
${{ inputs.base_url }}/en/projects/
93+
${{ inputs.base_url }}/en/projects/
9594
uploadArtifacts: true
9695
temporaryPublicStorage: true

0 commit comments

Comments
 (0)