Skip to content

Commit

Permalink
Update Hugo to version 0.127.0
Browse files Browse the repository at this point in the history
  • Loading branch information
krobbi committed Jun 14, 2024
1 parent 8215ac1 commit 7eaaaeb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.122.0
HUGO_VERSION: 0.127.0
steps:
- name: Install Hugo
run: |
Expand All @@ -48,17 +48,18 @@ jobs:
# fetch-depth: 0
- name: Configure GitHub Pages
id: pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5
## Uncomment if using Node.js packages:
#- name: Install Node.js packages
# run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Generate site with Hugo
env:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
TZ: America/Los_Angeles
run: hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload generated site
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
Expand All @@ -70,4 +71,4 @@ jobs:
steps:
- name: Deploy uploaded site to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4

0 comments on commit 7eaaaeb

Please sign in to comment.