typo in deploy
This commit is contained in:
parent
bebb492d93
commit
d402714b59
|
@ -42,7 +42,7 @@ jobs:
|
|||
SSH_USER: ubuntu
|
||||
SSH_KEY: ${{ secrets.PRODUCTION_SSH_KEY }}
|
||||
SSH_HOST: ${{ secrets.PRODUCTION_SSH_HOST }}
|
||||
- run |
|
||||
- run: |
|
||||
ssh production 'sudo systemctl restart backend'
|
||||
ssh production 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
|
||||
ssh production 'sudo npm install -g serve'
|
||||
|
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
SSH_USER: ubuntu
|
||||
SSH_KEY: ${{ secrets.STAGING_SSH_KEY }}
|
||||
SSH_HOST: ${{ secrets.STAGING_SSH_HOST }}
|
||||
- run |
|
||||
- run: |
|
||||
ssh staging 'sudo systemctl restart backend'
|
||||
ssh staging 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
|
||||
ssh staging 'sudo npm install -g serve'
|
||||
|
|
Loading…
Reference in New Issue