Skip to content

πŸ—„ chore: Add title front matter for root page #209

πŸ—„ chore: Add title front matter for root page

πŸ—„ chore: Add title front matter for root page #209

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.135.0"
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