Update .gitea/workflows/deploy-new.yml
This commit is contained in:
@@ -15,13 +15,10 @@ 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
|
||||||
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
|
host: 172.17.0.1
|
||||||
user: root
|
user: root
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
|
||||||
deploy-via-sftp:
|
deploy-via-sftp:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user