Update .gitea/workflows/deploy-new.yml

This commit is contained in:
binlab
2023-09-22 23:19:00 +00:00
parent cdadb439d6
commit a5dfe782df

View File

@@ -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