eu confio
Some checks failed
Update Bot / restart-bot (push) Has been cancelled
Update Bot / deploy-via-sftp (push) Has been cancelled

This commit is contained in:
2025-10-24 19:13:57 +02:00
parent c99495c113
commit 15930dae50

View File

@@ -14,9 +14,11 @@ jobs:
# install the libraries required for your bot
command: |
pip install -r requirements.txt
sudo apt install dos2unix
dos2unix $SSHPATH/deploy_key
host: 172.17.0.1
user: binlab
key: ${{ secrets.SSH_PRIVATE_KEY }}
pass: ${{ secrets.KEY }}
args: '-vvv'
@@ -34,7 +36,8 @@ jobs:
local_path: ./*
# destination of the code on the server
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
# environment variables or Github secrets are heavily recommended