system-aspect/.github/workflows/deploy.yml

29 lines
704 B
YAML

name: Deploy Quartz site to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: "Checkout"
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for git info
- name: "Setting up Node 18.14"
uses: actions/setup-node@v3
with:
node-version: 18.14
- name: "Building Quartz content"
uses: docker://ghcr.io/jackyzha0/quartz:hugo
with:
entrypoint: bash
args: npx quartz build -d /workspace/Peaceultime/system-aspect -o /workspace/Peaceultime/system-aspect/build