From fb062bc3ec4e1fb4d360347b37ff2e7866c8a6b5 Mon Sep 17 00:00:00 2001 From: foxihd Date: Wed, 29 Jan 2025 11:08:36 +0700 Subject: [PATCH] Testing ubuntu-24.04-arm --- .github/workflows/hugo.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 8237ab8..8aaaf5d 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -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 @@ -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 @@ -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