* 🚀 refactor: simplify deployment process in workflow file

* 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow

*  chore: simplify deployment logging in workflow file
This commit is contained in:
denshooter
2025-02-18 19:04:01 +01:00
committed by GitHub
parent 7c41eb2d1a
commit 9f4c055b23

View File

@@ -44,7 +44,7 @@ jobs:
run: |
CONTAINER_NAME="nextjs-$DEPLOY_ENV"
echo "Deploying $CONTAINER_NAME with $IMAGE_NAME"
echo "Deploying $CONTAINER_NAME"
if [ "$(docker inspect --format='{{.State.Running}}' "$NEW_CONTAINER_NAME")" = "true" ]; then
docker stop "$CONTAINER_NAME" || true