Files
blog-srv/.github/workflows/deploy.yml
yinxiaolong fb4912165a
All checks were successful
Deploy Blog / build (push) Successful in 10s
ci: 更新代理配置地址
2026-07-23 18:39:54 +08:00

21 lines
492 B
YAML

name: Deploy Blog
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
HTTP_PROXY: http://10.255.0.1:7890
HTTPS_PROXY: http://10.255.0.1:7890
steps:
- 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 /