Merge branch 'production' into dev
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
|||||||
- name: Zero-Downtime Deployment
|
- name: Zero-Downtime Deployment
|
||||||
run: |
|
run: |
|
||||||
CONTAINER_NAME="nextjs-$DEPLOY_ENV"
|
CONTAINER_NAME="nextjs-$DEPLOY_ENV"
|
||||||
|
|
||||||
echo "Deploying $CONTAINER_NAME"
|
echo "Deploying $CONTAINER_NAME"
|
||||||
|
|
||||||
if [ "$(docker inspect --format='{{.State.Running}}' "$NEW_CONTAINER_NAME")" = "true" ]; then
|
if [ "$(docker inspect --format='{{.State.Running}}' "$NEW_CONTAINER_NAME")" = "true" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user