Update .gitea/workflows/deploy-new.yml
This commit is contained in:
@@ -15,7 +15,7 @@ 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
|
||||||
host: localhost
|
host: 127.0.0.1
|
||||||
user: root
|
user: root
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
uses: https://github.com/wlixcc/SFTP-Deploy-Action@v1.2.1
|
uses: https://github.com/wlixcc/SFTP-Deploy-Action@v1.2.1
|
||||||
with:
|
with:
|
||||||
username: root
|
username: root
|
||||||
server: #127.0.0.1
|
server: 127.0.0.1
|
||||||
port: 22
|
port: 22
|
||||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
# clones entire github repo
|
# clones entire github repo
|
||||||
|
|||||||
Reference in New Issue
Block a user