eu confio
This commit is contained in:
@@ -14,9 +14,11 @@ jobs:
|
|||||||
# install the libraries required for your bot
|
# install the libraries required for your bot
|
||||||
command: |
|
command: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
sudo apt install dos2unix
|
||||||
|
dos2unix $SSHPATH/deploy_key
|
||||||
host: 172.17.0.1
|
host: 172.17.0.1
|
||||||
user: binlab
|
user: binlab
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
pass: ${{ secrets.KEY }}
|
||||||
args: '-vvv'
|
args: '-vvv'
|
||||||
|
|
||||||
|
|
||||||
@@ -34,7 +36,8 @@ jobs:
|
|||||||
local_path: ./*
|
local_path: ./*
|
||||||
# destination of the code on the server
|
# destination of the code on the server
|
||||||
remote_path: /home/admin/${{ env.REPO_NAME }}/
|
remote_path: /home/admin/${{ env.REPO_NAME }}/
|
||||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
password: ${{ secrets.KEY }}
|
||||||
|
ssh_private_key: ignored
|
||||||
|
|
||||||
# you may or may not need this. It all depends on how your code retrieves your discord token
|
# you may or may not need this. It all depends on how your code retrieves your discord token
|
||||||
# environment variables or Github secrets are heavily recommended
|
# environment variables or Github secrets are heavily recommended
|
||||||
@@ -107,4 +110,4 @@ jobs:
|
|||||||
sudo systemctl start ${{ env.REPO_NAME }}-watcher.service
|
sudo systemctl start ${{ env.REPO_NAME }}-watcher.service
|
||||||
host: 172.17.0.1
|
host: 172.17.0.1
|
||||||
user: binlab
|
user: binlab
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user