File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,14 +48,18 @@ jobs:
4848 tags : ${{ steps.meta.outputs.tags }}
4949 labels : ${{ steps.meta.outputs.labels }}
5050
51+ run :
52+ runs-on : ubuntu-latest
53+ needs : [ build ]
54+ steps :
5155 - name : run on server
5256 uses : garygrossgarten/github-action-ssh@release
5357 with :
5458 host : ${{ secrets.SERVER_HOST }}
5559 username : ${{ secrets.SERVER_USER }}
5660 password : ${{ secrets.SERVER_PASSWORD }}
5761 command : |
58- cd /home/app/procollab-backend &&
62+ cd /home/app/procollab-backend
5963 docker-compose -f docker-compose.prod-ci.yml -p prod pull
6064
6165 rm -f .env &&
7781 echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> .env &&
7882
7983 docker-compose -f docker-compose.prod-ci.yml -p prod up -d
80- # docker run -d --env-file .env -p 8000:8000 ghcr.io/procollab-github/api:latest
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments