Skip to content

Commit

Permalink
修改 Action
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer authored May 24, 2024
1 parent 18c6104 commit d252767
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: remote ssh command
name: 部署网站
on:
push:
branches:
main

jobs:
deploy:
name: Deploy
name: 远程命令
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands
- name: 通过执行命令进行部署
uses: fifsky/ssh-action@master
with:
host: ${{ secrets.HOST }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
command: |
cd /www/wwwroot/mcisee.top
ls -a
git pull origin

0 comments on commit d252767

Please sign in to comment.