typo in deploy

This commit is contained in:
Kim 2023-10-23 16:06:11 +02:00
parent bebb492d93
commit d402714b59
2 changed files with 5 additions and 5 deletions

View File

@ -42,8 +42,8 @@ jobs:
SSH_USER: ubuntu
SSH_KEY: ${{ secrets.PRODUCTION_SSH_KEY }}
SSH_HOST: ${{ secrets.PRODUCTION_SSH_HOST }}
- 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'
- 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'
- run: echo " This job's status is ${{ job.status }}."

View File

@ -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'