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:
@@ -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