Trying single ssh command script non-sudo
This commit is contained in:
parent
6458757222
commit
f985105751
|
@ -45,10 +45,10 @@ jobs:
|
|||
host: 91.92.154.141
|
||||
username: ubuntu
|
||||
key: ${{ secrets.STAGING_SSH_KEY }}
|
||||
script: |
|
||||
sudo systemctl restart backend
|
||||
sudo cp -rf ~/frontend/build/*
|
||||
sudo npm install -g serve/var/www/html/monitor.innov.energy/html/
|
||||
script: systemctl restart backend
|
||||
# sudo cp -rf ~/frontend/build/*
|
||||
# sudo npm install -g serve/var/www/html/monitor.innov.energy/html/
|
||||
|
||||
- run: echo " This job's status is ${{ job.status }}."
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue