Skip to content

content: rewrite primal catalog — identity+origin+constraint narrativ… #12

content: rewrite primal catalog — identity+origin+constraint narrativ…

content: rewrite primal catalog — identity+origin+constraint narrativ… #12

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Zola
run: |
curl -sL https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv zola /usr/local/bin/
- name: Check links
run: zola check
build:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build with Zola
uses: shalzz/zola-deploy-action@v0.19.2
env:
BUILD_ONLY: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: public
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4