Skip to content

Client:2.4.01|Res:24-11-01-18-18-57-490182 #51

Client:2.4.01|Res:24-11-01-18-18-57-490182

Client:2.4.01|Res:24-11-01-18-18-57-490182 #51

Workflow file for this run

name: Auto Deploy to Server
on:
push:
branches:
- main # 你的主要分支
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: SSH and Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_SSH_PORT }}
script: |
${{ secrets.SERVER_DEPLOY_COMMAND }}