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: npx args: quartz build -d /workspace/Peaceultime/system-aspect -o /workspace/Peaceultime/system-aspect/build