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') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
|
||||
- name: Cache Quartz plugins
|
||||
uses: actions/cache@v5
|
||||
working-directory: quartz/
|
||||
@@ -67,9 +67,14 @@ jobs:
|
||||
# with:
|
||||
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
# command: deploy public --name=test1
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||
|
||||
- name: Wrangler deploy
|
||||
env:
|
||||
# CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
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