Skip to content

Commit

Permalink
Fix automated deploy deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeybeurskens committed Aug 18, 2024
1 parent 72da23a commit b40f4f5
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/hugo-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.121.0
HUGO_VERSION: 0.131.0
steps:
- name: Install Hugo CLI
run: |
Expand All @@ -31,12 +31,14 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
uses: actions/checkout@v4
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
Expand All @@ -46,7 +48,7 @@ jobs:
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v4
with:
path: ./public

Expand All @@ -59,4 +61,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit b40f4f5

Please sign in to comment.