1
0
forked from PGL/Clyde
This commit is contained in:
Debucquoy Anthony 2024-02-26 19:51:09 +01:00
parent f1154713b7
commit 0015763523
Signed by untrusted user: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -47,8 +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: |
echo "${{ secrets.SSH_KEY }}" > 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 }} "cd backend && docker-compose restart"
- run: echo "The backend has been deployed. running at https://clyde.herisson.ovh/api"