.
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m17s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Failing after 1m21s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
Some checks failed
Build and test backend / Build-backend (push) Successful in 1m17s
Build and test backend / Test-backend (push) Successful in 1m17s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Failing after 1m21s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
This commit is contained in:
parent
883ff19fa3
commit
f1154713b7
@ -46,9 +46,9 @@ jobs:
|
|||||||
chmod 0600 key
|
chmod 0600 key
|
||||||
scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r * ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:api/
|
scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r * ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:api/
|
||||||
- name: restarting the backend
|
- name: restarting the backend
|
||||||
working-directory: ./backend
|
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.SSH_KEY }}" > key
|
echo "${{ secrets.SSH_KEY }}" > key
|
||||||
chmod 0600 key
|
chmod 0600 key
|
||||||
|
cd backend
|
||||||
ssh -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "docker-compose restart"
|
ssh -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "docker-compose restart"
|
||||||
- run: echo "The backend has been deployed. running at https://clyde.herisson.ovh/api"
|
- run: echo "The backend has been deployed. running at https://clyde.herisson.ovh/api"
|
||||||
|
Loading…
Reference in New Issue
Block a user