π chore: Update post lastmod
#207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.130.0" | |
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 |