Skip to content

Commit

Permalink
Variable-ize hugo version
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmarchione committed Nov 4, 2024
1 parent 32cc5f9 commit 4c02635
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:

runs-on: ubuntu-latest

env:
HUGO_VERSION: 0.136.5

steps:
- name: Check out the codebase
uses: actions/checkout@v4
Expand All @@ -25,7 +28,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.136.5'
hugo-version: $HUGO_VERSION
extended: true

- name: Build
Expand Down Expand Up @@ -53,6 +56,9 @@ jobs:
needs: loganmarchione-github-io
runs-on: ubuntu-latest

env:
HUGO_VERSION: 0.136.5

permissions:
id-token: write
contents: read
Expand All @@ -71,7 +77,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.136.5'
hugo-version: $HUGO_VERSION
extended: true

- name: Configure AWS credentials
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
needs: deploy-development
runs-on: ubuntu-latest

env:
HUGO_VERSION: 0.136.5

permissions:
id-token: write
contents: read
Expand All @@ -35,7 +38,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.136.5'
hugo-version: $HUGO_VERSION
extended: true

- name: Configure AWS credentials
Expand Down

0 comments on commit 4c02635

Please sign in to comment.