Skip to content

⬆️ bump: Hugo 0.139.3 #212

⬆️ bump: Hugo 0.139.3

⬆️ bump: Hugo 0.139.3 #212

Workflow file for this run

name: 🚀 Deploy
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
build:
name: 🛠 Build
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: ⚙️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- name: 📦 Install dependencies
run: |
cd themes/congo
npm ci
- name: 🏗️ Build CSS
run: npm run css:build
- name: 🏗️ Build site
uses: tomy0000000/actions/hugo-github-pages@main
with:
hugo_version: "0.139.3"
upload: false
# Temporary fix before gohugoio/hugo#5161 is resolved
- name: 🔧 Fix 404 Page
run: |
scripts/patch_404.sh
- name: ⬆️ Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
name: 🚀 Deploy
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@v4