mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-09 23:04:38 +08:00
Fix check proxy (#307)
This commit is contained in:
4
.github/workflows/manual-deep-sync.yml
vendored
4
.github/workflows/manual-deep-sync.yml
vendored
@@ -23,8 +23,8 @@ jobs:
|
||||
nohup /usr/local/bin/bridge -b :8080 -p - ${{ secrets.PROTOCOL }} 2>/dev/null &
|
||||
- name: Check Proxy
|
||||
run: |
|
||||
curl -v http://127.0.0.1:8080
|
||||
curl --proxy 127.0.0.1:8080 -v http://m.daocloud.io/v2/
|
||||
curl -v http://127.0.0.1:8080 || exit 1
|
||||
curl -f --proxy 127.0.0.1:8080 -v http://m.daocloud.io/v2/ || exit 1
|
||||
- name: Override mirror.txt
|
||||
run: |
|
||||
echo ${{ github.event.inputs.image }} > mirror.txt
|
||||
|
Reference in New Issue
Block a user