1 parent
1c7c08304b
commit
5a3d586105
1 file changed
+2
-10
@@ -8,16 +8,8 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Pull, Update and Restart Summer
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
|
|
||||||
- name: Executing remote deploy via SSH
|
|
||||||
uses: appleboy/[email protected]
|
|
||||||
with:
|
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
|
||||||
username: ${{ secrets. SERVER_USER }}
|
|
||||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
|
||||||
script: |
|
|
||||||
cd /home/chrispi/scripts/telegram_bot/summer
|
cd /home/chrispi/scripts/telegram_bot/summer
|
||||||
git pull origin main
|
git pull origin main
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|||||||
Reference in new issue
Block a user