From 15930dae50345fa216fad31032120af437da5fb3 Mon Sep 17 00:00:00 2001 From: binlab Date: Fri, 24 Oct 2025 19:13:57 +0200 Subject: [PATCH] eu confio --- .gitea/workflows/deploy-new.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy-new.yml b/.gitea/workflows/deploy-new.yml index b2b6708..c2d434f 100644 --- a/.gitea/workflows/deploy-new.yml +++ b/.gitea/workflows/deploy-new.yml @@ -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 @@ -107,4 +110,4 @@ jobs: sudo systemctl start ${{ env.REPO_NAME }}-watcher.service host: 172.17.0.1 user: binlab - key: ${{ secrets.SSH_PRIVATE_KEY }} \ No newline at end of file + key: ${{ secrets.SSH_PRIVATE_KEY }}