35 lines
753 B
YAML
35 lines
753 B
YAML
name: Build Quartz site
|
|
|
|
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:
|
|
path: 'content'
|
|
fetch-depth: 0 # Fetch all history for git info
|
|
|
|
- name: "Fetching Quartz"
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: 'jackyzha0/quartz'
|
|
path: 'quartz'
|
|
github-server-url: 'https://github.com'
|
|
token: ${{ secrets.GH_PAT }}
|
|
|
|
- name: "Check folders"
|
|
run: ls -al /workspace/Peaceultime/system-aspect
|
|
|
|
- name: "Building Quartz content"
|
|
uses: ./.github/actions/deploy-quartz |