Skip to content

chore(go): bump to 1.26.3 (#2689) #1096

chore(go): bump to 1.26.3 (#2689)

chore(go): bump to 1.26.3 (#2689) #1096

Workflow file for this run

name: Deploy Hugo site to Pages
on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
# Default to bash
defaults:
run:
shell: bash
jobs:
# Build job
build:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
- name: Install Node.js dependencies
run: |
cd hugo
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
- name: Build with Hugo # zizmor: ignore[template-injection] configure-pages considered safe
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make hugo
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
with:
path: ./hugo/public
# Deployment job
deploy:
permissions: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5