Update .gitea/workflows/quartz-build-publish.yaml
Quartz Publisher / Quartz-Build-Publish (push) Successful in 14m25s
Quartz Publisher / Quartz-Build-Publish (push) Successful in 14m25s
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- name: Cache Quartz plugins
|
- name: Cache Quartz plugins
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
working-directory: quartz/
|
working-directory: quartz/
|
||||||
@@ -67,9 +67,14 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
# command: deploy public --name=test1
|
# command: deploy public --name=test1
|
||||||
|
|
||||||
|
- name: Get current date
|
||||||
|
id: date
|
||||||
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||||
|
|
||||||
- name: Wrangler deploy
|
- name: Wrangler deploy
|
||||||
env:
|
env:
|
||||||
# CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
# CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
working-directory: quartz/
|
working-directory: quartz/
|
||||||
run: npx wrangler deploy public --name=test1
|
run: npx wrangler deploy public --name=test1 --compatibility-date=${{ steps.date.outputs.date }}
|
||||||
Reference in New Issue
Block a user