ci: 更新代理配置地址
All checks were successful
Deploy Blog / build (push) Successful in 10s

This commit is contained in:
yinxiaolong
2026-07-23 18:39:54 +08:00
parent 09444f7b70
commit fb4912165a

View File

@@ -11,31 +11,11 @@ jobs:
HTTP_PROXY: http://10.255.0.1:7890
HTTPS_PROXY: http://10.255.0.1:7890
steps:
- name: Setup git proxy
run: |
git config --global http.proxy ${{ env.HTTP_PROXY }}
git config --global https.proxy ${{ env.HTTPS_PROXY }}
- name: Checkout
uses: actions/checkout@v4
env:
HTTP_PROXY: ${{ env.HTTP_PROXY }}
HTTPS_PROXY: ${{ env.HTTPS_PROXY }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
env:
HTTP_PROXY: ${{ env.HTTP_PROXY }}
HTTPS_PROXY: ${{ env.HTTPS_PROXY }}
- name: Install dependencies
run: pnpm install
env:
HTTP_PROXY: ${{ env.HTTP_PROXY }}
HTTPS_PROXY: ${{ env.HTTPS_PROXY }}
- name: Build
run: pnpm run docs:build
- name: Show build output
run: ls -la docs/.vuepress/dist
- name: Execute remote SSH commands using password
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: ls -la /