Skip to content

Commit

Permalink
fix workflow order
Browse files Browse the repository at this point in the history
  • Loading branch information
NotLe0n committed Dec 3, 2024
1 parent 15f0b20 commit 0f37e2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ jobs:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.126.2
steps:
- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'

steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
Expand All @@ -47,6 +42,11 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'

- name: Generate stdlib articles
run: go run ./gen

Expand Down

0 comments on commit 0f37e2b

Please sign in to comment.