Update .gitea/workflows/quartz-build-publish.yaml
Quartz Publisher / Clone-Repos (push) Failing after 9m25s
Quartz Publisher / Clone-Repos (push) Failing after 9m25s
This commit is contained in:
@@ -8,15 +8,44 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Clone repo status
|
|
||||||
run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
- name: Organize content
|
||||||
- name: Move files
|
|
||||||
run: |
|
run: |
|
||||||
|
echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||||
|
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: Create branch for quartz
|
|
||||||
run: git checkout -b quartz
|
- name: Clone Quartz, build
|
||||||
- name: Clone Quartz
|
run: |
|
||||||
run: git clone https://github.com/jackyzha0/quartz.git && ls -al
|
git clone https://github.com/jackyzha0/quartz.git
|
||||||
- run: mv content/* quartz/content
|
mv content/* quartz/content
|
||||||
- run: ls -l quartz/content
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v5
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
|
- name: Cache Quartz plugins
|
||||||
|
uses: actions/cache@v5
|
||||||
|
with:
|
||||||
|
path: .quartz/plugins
|
||||||
|
key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-plugins-
|
||||||
|
|
||||||
|
- run: npm install
|
||||||
|
|
||||||
|
- name: Install Quartz plugins
|
||||||
|
run: npx quartz plugin install
|
||||||
|
|
||||||
|
- name: Check types and style
|
||||||
|
run: npm run check
|
||||||
Reference in New Issue
Block a user