mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
Update dockerhub_proxy.yml
This commit is contained in:
parent
5093cc4b96
commit
819761d9ca
1 changed files with 7 additions and 7 deletions
14
.github/workflows/dockerhub_proxy.yml
vendored
14
.github/workflows/dockerhub_proxy.yml
vendored
|
@ -12,19 +12,19 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build cloudflare.js for Dockerhub proxy
|
# - name: Build cloudflare.js for Dockerhub proxy
|
||||||
run: |
|
# run: |
|
||||||
cd docker
|
# cd docker
|
||||||
curl -o https://raw.githubusercontent.com/Websoft9/doc.websoft9.com/refs/heads/main/docs/reference/_include/dockerhub-proxy.md
|
# 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"
|
# echo "Insert proxy lists to cloudflare.js"
|
||||||
|
|
||||||
- name: Deploy to cloudflare
|
- name: Deploy to cloudflare
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: cloudflare/wrangler-action@v3
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
preCommands: cd docker
|
environment: production
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: update cloudflare.js
|
commit_message: update cloudflare.js
|
||||||
|
|
Loading…
Reference in a new issue