try once more?
Some checks failed
Deploy Quartz site to Pages / build (push) Failing after 1m42s

This commit is contained in:
Eau
2026-04-11 02:02:14 -05:00
parent c5e46cef5c
commit 7421a07837

View File

@@ -17,18 +17,23 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for git info
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
- name: Install Dependencies - uses: actions/checkout@v6
run: npm ci id: clone quartz repo
- name: Build Quartz with:
run: npx quartz build # Repository name with owner. For example, actions/checkout
- name: Read Current Version # Default: ${{ github.repository }}
repository: 'https://github.com/jackyzha0/quartz.git'
- uses: actions/checkout@v4
id: get garden content
with:
fetch-depth: 0 # Fetch all history for git info
path: content
- name: get current version
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)" run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
working-directory: content
- name: Increment Semantic Version - name: Increment Semantic Version
uses: christian-draeger/increment-semantic-version@1.2.3 uses: christian-draeger/increment-semantic-version@1.2.3
id: bump_version id: bump_version
@@ -36,9 +41,19 @@ jobs:
current-version: ${{ env.CURRENT_VERSION }} current-version: ${{ env.CURRENT_VERSION }}
version-fragment: ${{ env.VERSION_FRAGMENT }} version-fragment: ${{ env.VERSION_FRAGMENT }}
- run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt - run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt
working-directory: content
- name: Read Current Version - name: Read Current Version
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)" run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
working-directory: content
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }} - run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
working-directory: content
- name: Overlay quartz configs
run: cp -fR content/.quartz/** .
- name: Install Dependencies
run: npm ci
working-directory: quartz
- name: Build Quartz
run: npx quartz build
- uses: akkuman/gitea-release-action@v1 - uses: akkuman/gitea-release-action@v1
env: env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18