Skip to content

Commit

Permalink
Merge branch 'master' of ssh://access.github.com/zhihao1021/pd2-ticke…
Browse files Browse the repository at this point in the history
…t-v2
  • Loading branch information
zhihao1021 committed Apr 12, 2024
2 parents a8386b0 + 2658bd4 commit feef18b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/backend_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto update backend
on:
push:
branches:
- main
jobs:
deploy:
name: pull and update
runs-on: ubuntu-22.04
steps:
- name: Exec SSH command
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
proxy_host: ${{ secrets.PROXY_HOST }}
proxy_username: ${{ secrets.PROXY_USERNAME }}
proxy_key: ${{ secrets.PROXY_KEY }}
proxy_port: ${{ secrets.PROXY_PORT }}
script_stop: true
script: whoami

0 comments on commit feef18b

Please sign in to comment.