Skip to content

Commit

Permalink
Testing ubuntu-24.04-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
foxihd committed Jan 29, 2025
1 parent 61d3bd3 commit fb062bc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ defaults:
jobs:
# Build job
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04-arm
env:
HUGO_VERSION: 0.135.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-arm64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.2.2
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Index pagefind
run: npx pagefind --source "./exampleSite/public"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3.0.1
with:
path: ./exampleSite/public

Expand All @@ -72,9 +72,9 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04-arm
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4.0.5

0 comments on commit fb062bc

Please sign in to comment.