mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 15:10:22 +00:00
Update dockerhub_proxy.yml
This commit is contained in:
parent
a30a56361a
commit
ac7356f1a7
1 changed files with 5 additions and 1 deletions
6
.github/workflows/dockerhub_proxy.yml
vendored
6
.github/workflows/dockerhub_proxy.yml
vendored
|
@ -18,12 +18,16 @@ jobs:
|
|||
# curl -o https://raw.githubusercontent.com/Websoft9/doc.websoft9.com/refs/heads/main/docs/reference/_include/dockerhub-proxy.md
|
||||
# echo "Insert proxy lists to cloudflare.js"
|
||||
|
||||
- name: Set compatibility date
|
||||
id: set-date
|
||||
run: echo "COMPATIBILITY_DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV
|
||||
|
||||
- name: Deploy to cloudflare
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.EDIT_CLOUDFLARE_WORKERS }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: deploy docker/cloudflare.js --name test --compatibility-date $(date +%Y-%m-%d)
|
||||
command: deploy docker/cloudflare.js --name test --compatibility-date ${{ env.COMPATIBILITY_DATE }}
|
||||
|
||||
- name: Commit and push changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
|
Loading…
Reference in a new issue