Skip to content

fix: update module pins #275

fix: update module pins

fix: update module pins #275

Workflow file for this run

name: Deploy Hugo to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout kaisune
uses: actions/checkout@v4
with:
submodules: recursive # pulls PaperMod
fetch-depth: 0
path: kaisune
- name: Checkout tellus (sibling, so ../tellus resolves)
uses: actions/checkout@v4
with:
repository: olambo/tellus
path: tellus
# If tellus is private, replace the line above with a PAT:
# token: ${{ secrets.TELLUS_PAT }}
- name: Checkout solan (sibling, so ../solan resolves)
uses: actions/checkout@v4
with:
repository: olambo/solan
path: solan
# If solan is private, replace the line above with a PAT:
# token: ${{ secrets.SOLAN_PAT }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true # required for PaperMod
- name: Build
working-directory: kaisune
run: hugo --minify
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: kaisune/public
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