Skip to content

Commit

Permalink
Bump GitHub workflow actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Sep 20, 2024
1 parent a2eb47b commit 774489c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
hugoVersion:
description: "Hugo Version"
required: false
default: "0.112.4"
default: "0.134.3"

# Allow one concurrent deployment
concurrency:
Expand All @@ -38,19 +38,19 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.112.4' }}
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.134.3' }}
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 \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: exampleSite
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Get Theme
run: git submodule update --init --recursive
- name: Update theme to Latest commit
Expand All @@ -61,7 +61,7 @@ jobs:
--buildDrafts --gc \
--baseURL ${{ steps.pages.outputs.base_url }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./public
# Deployment job
Expand All @@ -74,4 +74,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 774489c

Please sign in to comment.