diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ed2e77..7ac918c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,16 @@ -name: Build Docker - -on: [push, pull_request] - +name: Remote SSH Command +on: [push] jobs: build: + name: Build runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v6 - - name: Build - run: ls -la + - name: 执行远程 SSH 命令(密码认证) + run: curl -x http://10.255.0.1:7890 ip.sb +# uses: appleboy/ssh-action@v1 +# with: +# host: ${{ secrets.HOST }} +# username: ${{ secrets.USERNAME }} +# password: ${{ secrets.PASSWORD }} +# port: ${{ secrets.PORT }} +# script: whoami \ No newline at end of file