Update .github/workflows/deploy.yml
Build Quartz site / build (push) Successful in 1m32s Details

This commit is contained in:
Peaceultime 2023-12-14 23:24:37 +00:00
parent 5e71e41643
commit ace62c372e
1 changed files with 18 additions and 8 deletions

View File

@ -14,12 +14,6 @@ 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:
@ -28,5 +22,21 @@ jobs:
github-server-url: 'https://github.com'
token: ${{ secrets.GH_PAT }}
- name: "Building Quartz content"
uses: ./content/.github/actions/deploy-quartz/
- name: "Checkout"
uses: actions/checkout@v3
with:
path: 'quartz/content'
fetch-depth: 0 # Fetch all history for git info
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version: 18.14
- name: Install Dependencies
run: npm ci
working-directory: ./quartz
- name: Build Quartz
run: npx quartz build
working-directory: ./quartz