diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index e4bed9b..0124f2e 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -65,4 +65,4 @@ jobs: docker pull stagecodes/otr-web-prod:latest docker stop otr-web-prod || true docker rm otr-web-prod || true - docker run -d -p 3000:3000 --name otr-web-prod --env-file ~/otr-web/.env stagecodes/otr-web-prod:latest \ No newline at end of file + docker run -d -p 3000:3000 --restart always --name otr-web-prod --env-file ~/otr-web/.env stagecodes/otr-web-prod:latest \ No newline at end of file diff --git a/.github/workflows/staging-deploy.yml b/.github/workflows/staging-deploy.yml index 9a6d5d2..3e0180f 100644 --- a/.github/workflows/staging-deploy.yml +++ b/.github/workflows/staging-deploy.yml @@ -70,4 +70,4 @@ jobs: docker pull stagecodes/otr-web-staging:latest docker stop otr-web-staging || true docker rm otr-web-staging || true - docker run -d -p 3000:3000 --name otr-web-staging --env-file ~/otr-web/.env stagecodes/otr-web-staging:latest \ No newline at end of file + docker run -d -p 3000:3000 --restart always --name otr-web-staging --env-file ~/otr-web/.env stagecodes/otr-web-staging:latest \ No newline at end of file