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