venga
All checks were successful
Update Bot / deploy-via-sftp (push) Successful in 11s
Update Bot / restart-bot (push) Successful in 6s

This commit is contained in:
2025-10-25 02:18:37 +02:00
parent 1200aa59f2
commit 27c1bf357e

View File

@@ -13,12 +13,12 @@ jobs:
- name: SFTP Deploy - name: SFTP Deploy
uses: https://github.com/wlixcc/SFTP-Deploy-Action@v1.2.4 uses: https://github.com/wlixcc/SFTP-Deploy-Action@v1.2.4
with: with:
username: root username: binlab
server: 172.17.0.1 server: 172.17.0.1
port: 22 port: 22
local_path: ./* local_path: ./*
remote_path: /home/admin/${{ env.REPO_NAME }}/ remote_path: /home/binlab/${{ env.REPO_NAME }}/
password: ${{ secrets.SSH_PASS }} password: ${{ secrets.KEY }}
restart-bot: restart-bot:
needs: [deploy-via-sftp] needs: [deploy-via-sftp]
@@ -29,5 +29,5 @@ jobs:
with: with:
command: sudo systemctl start ${{ env.REPO_NAME }}-watcher.service & command: sudo systemctl start ${{ env.REPO_NAME }}-watcher.service &
host: 172.17.0.1 host: 172.17.0.1
user: root user: binlab
pass: ${{ secrets.SSH_PASS }} pass: ${{ secrets.KEY }}