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