key instead of path
This commit is contained in:
parent
ce920d8e21
commit
916c311deb
|
@ -44,8 +44,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
host: 91.92.154.141
|
host: 91.92.154.141
|
||||||
username: ubuntu
|
username: ubuntu
|
||||||
key_path: /root/.ssh/id_rsa
|
# key_path: /root/.ssh/id_rsa
|
||||||
# key: ${{ secrets.STAGING_SSH_KEY }}
|
key: ${{ secrets.STAGING_SSH_KEY }}
|
||||||
script: |
|
script: |
|
||||||
sudo systemctl restart backend
|
sudo systemctl restart backend
|
||||||
sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/
|
sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/
|
||||||
|
|
Loading…
Reference in New Issue