key instead of path

This commit is contained in:
Kim 2023-11-06 13:25:50 +01:00
parent ce920d8e21
commit 916c311deb
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ jobs:
with:
host: 91.92.154.141
username: ubuntu
key_path: /root/.ssh/id_rsa
# key: ${{ secrets.STAGING_SSH_KEY }}
# key_path: /root/.ssh/id_rsa
key: ${{ secrets.STAGING_SSH_KEY }}
script: |
sudo systemctl restart backend
sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/