Skip to content

Commit 36b5640

Browse files
committed
fix: steps cannot have both uses + run keys
1 parent f2d32b1 commit 36b5640

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
uses: actions/setup-node@v3
2525
with:
2626
node-version: "16"
27-
run: yarn install
2827

2928
- name: Setup Hugo
3029
uses: peaceiris/actions-hugo@v2
@@ -33,14 +32,15 @@ jobs:
3332
# https://github.com/marketplace/actions/hugo-setup#%EF%B8%8F-read-hugo-version-from-file
3433
hugo-version: "${{ steps.hugo-version.outputs.HUGO_VERSION }}"
3534
extended: true
36-
run: |
37-
hugo mod init github.com/openmodelingfoundation/openmodelingfoundation.github.io
38-
hugo mod get github.com/google/docsy@v0.4.0
3935

4036
- name: Build Hugo site
4137
env:
4238
HUGO_ENV: "production"
43-
run: hugo --minify
39+
run: |
40+
yarn install
41+
hugo mod init github.com/openmodelingfoundation/openmodelingfoundation.github.io
42+
hugo mod get github.com/google/docsy@v0.4.0
43+
hugo --minify
4444
4545
- name: Deploy
4646
if: github.event_name == 'push'

0 commit comments

Comments
 (0)