.
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m19s
Build and test backend / Test-backend (push) Successful in 1m16s
Build and test FrontEnd / Build-frontend (push) Successful in 21s
Build and test FrontEnd / Test-frontend (push) Successful in 21s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m25s
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m19s
Build and test backend / Test-backend (push) Successful in 1m16s
Build and test FrontEnd / Build-frontend (push) Successful in 21s
Build and test FrontEnd / Test-frontend (push) Successful in 21s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m25s
This commit is contained in:
parent
4983b67fbe
commit
f39cc004ad
@ -47,5 +47,5 @@ jobs:
|
||||
scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r * ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:api/
|
||||
- name: restarting the backend
|
||||
run: |
|
||||
ssh -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd api/backend && docker-compose restart"
|
||||
ssh -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd api/backend && docker-compose down && docker-compose up --force-recreate --build -d && docker image prune -f"
|
||||
- run: echo "The backend has been deployed. running at https://clyde.herisson.ovh/api"
|
||||
|
Loading…
Reference in New Issue
Block a user