This commit is contained in:
@@ -20,17 +20,6 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
- uses: actions/checkout@v6
|
|
||||||
id: clone quartz repo
|
|
||||||
with:
|
|
||||||
# Repository name with owner. For example, actions/checkout
|
|
||||||
# Default: ${{ github.repository }}
|
|
||||||
repository: 'jackyzha0/quartz.git'
|
|
||||||
github-server-url: 'https://github.com/'
|
|
||||||
fetch-depth: 1
|
|
||||||
persist-credentials: false
|
|
||||||
token: ${{secrets.GH_PAT}}
|
|
||||||
ref: v4
|
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
id: get garden content
|
id: get garden content
|
||||||
with:
|
with:
|
||||||
@@ -52,8 +41,22 @@ jobs:
|
|||||||
working-directory: content
|
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
|
working-directory: content
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
id: clone quartz repo
|
||||||
|
with:
|
||||||
|
# Repository name with owner. For example, actions/checkout
|
||||||
|
# Default: ${{ github.repository }}
|
||||||
|
repository: 'jackyzha0/quartz.git'
|
||||||
|
github-server-url: 'https://github.com/'
|
||||||
|
fetch-depth: 1
|
||||||
|
persist-credentials: false
|
||||||
|
token: ${{secrets.GH_PAT}}
|
||||||
|
ref: v4
|
||||||
|
path: quartz
|
||||||
- name: Overlay quartz configs
|
- name: Overlay quartz configs
|
||||||
run: cp -fR content/.quartz/** .
|
run: cp -fR content/.quartz/** .
|
||||||
|
- name: Copy the content
|
||||||
|
run: cp -fR content/** quartz/content
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
working-directory: quartz
|
working-directory: quartz
|
||||||
|
|||||||
Reference in New Issue
Block a user