keypath instead of key

This commit is contained in:
Kim 2023-11-06 13:20:07 +01:00
parent 56d2e9712a
commit ce920d8e21
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ jobs:
with: with:
host: 91.92.154.141 host: 91.92.154.141
username: ubuntu username: ubuntu
key: ${{ secrets.STAGING_SSH_KEY }} key_path: /root/.ssh/id_rsa
# 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/