Update .gitea/workflows/quartz-build-publish.yaml
Quartz Publisher / Quartz-Build-Publish (push) Failing after 0s
Quartz Publisher / Quartz-Build-Publish (push) Failing after 0s
This commit is contained in:
@@ -16,34 +16,35 @@ jobs:
|
||||
mkdir 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
|
||||
- parallel:
|
||||
- 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: Setup Node
|
||||
uses: actions/setup-node@v6
|
||||
working-directory: quartz/
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v5
|
||||
working-directory: quartz/
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v5
|
||||
working-directory: quartz/
|
||||
with:
|
||||
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-
|
||||
- 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
|
||||
working-directory: quartz/
|
||||
|
||||
Reference in New Issue
Block a user