Files
hyperf-explore/.github/workflows/build.yml
yinxiaolong 42a178d97e
Some checks failed
Remote SSH Command / Build (push) Has been cancelled
chore: 移除发布工作流及Dockerfile,
2026-06-18 19:02:26 +08:00

24 lines
743 B
YAML

name: Remote SSH Command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
HTTP_PROXY: http://10.255.0.1:7890
HTTPS_PROXY: http://10.255.0.1:7890
http_proxy: http://10.255.0.1:7890
https_proxy: http://10.255.0.1:7890
steps:
- name: Set git proxy
run: |
git config --global http.proxy http://10.255.0.1:7890
git config --global https.proxy http://10.255.0.1:7890
- name: 执行远程 SSH 命令(密码认证)
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami