Update .gitea/workflows/quartz-build-publish.yaml
Quartz Publisher / Quartz-Build-Publish (push) Failing after 0s

This commit is contained in:
2026-08-26 10:01:18 -04:00
parent 7b9bee7bdc
commit 0af4d3b3ce
+29 -28
View File
@@ -15,35 +15,36 @@ jobs:
git checkout -b quartz git checkout -b quartz
mkdir content && mkdir content &&
find . -type d,f -maxdepth 1 -regextype posix-extended ! -regex '^\.$|\./(\.git|\.obsidian|\.trash|content).*' -exec mv {} content/ \; find . -type d,f -maxdepth 1 -regextype posix-extended ! -regex '^\.$|\./(\.git|\.obsidian|\.trash|content).*' -exec mv {} content/ \;
- name: Clone Quartz, move content
run: |
git clone https://github.com/jackyzha0/quartz.git
mv content/* quartz/content
- name: Setup Node
uses: actions/setup-node@v6
working-directory: quartz/
with:
node-version: 24
- name: Cache dependencies - parallel:
uses: actions/cache@v5 - name: Clone Quartz, move content
working-directory: quartz/ run: |
with: git clone https://github.com/jackyzha0/quartz.git
path: ~/.npm mv content/* quartz/content
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: | - name: Setup Node
${{ runner.os }}-node- uses: actions/setup-node@v6
working-directory: quartz/
- name: Cache Quartz plugins with:
uses: actions/cache@v5 node-version: 24
working-directory: quartz/
with: - name: Cache dependencies
path: .quartz/plugins uses: actions/cache@v5
key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }} working-directory: quartz/
restore-keys: | with:
${{ runner.os }}-plugins- path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache Quartz plugins
uses: actions/cache@v5
working-directory: quartz/
with:
path: .quartz/plugins
key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }}
restore-keys: |
${{ runner.os }}-plugins-
- run: npm install && npm install wrangler - run: npm install && npm install wrangler
working-directory: quartz/ working-directory: quartz/