diff --git a/.gitea/workflows/deploy-new.yml b/.gitea/workflows/deploy-new.yml index 11ed76a..9df3d9a 100644 --- a/.gitea/workflows/deploy-new.yml +++ b/.gitea/workflows/deploy-new.yml @@ -15,13 +15,10 @@ jobs: # install the libraries required for your bot command: | pip install -r requirements.txt - mkdir /root/.ssh - touch /root/.ssh/id_rsa.pub - echo ${{secrets.SSH_PRIVATE_KEY}} > /root/.ssh/id_rsa.pub - chmod 700 /root/.ssh - chmod 644 /root/.ssh/id_rsa.pub host: 172.17.0.1 user: root + key: ${{ secrets.SSH_PRIVATE_KEY }} + deploy-via-sftp: runs-on: ubuntu-latest