This commit is contained in:
parent
1868726221
commit
f86a7f9531
@ -10,11 +10,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v4
|
- uses: https://github.com/actions/checkout@v4
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
uses: https://github.com/appleboy/ssh-action@master
|
uses: https://github.com/appleboy/ssh-action@v1.2.0
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
host: ${{ secrets.SERVER_HOST }}
|
||||||
username: ${{ secrets.SERVER_USERNAME }}
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
# Переходим в директорию проекта
|
# Переходим в директорию проекта
|
||||||
cd ~/fastapi-app
|
cd ~/fastapi-app
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user