Skip to content

Commit

Permalink
test: create env file
Browse files Browse the repository at this point in the history
  • Loading branch information
ceelogre committed Nov 29, 2024
1 parent 16faadd commit bae3877
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ jobs:
envs: MONGO_PROD_DB,REGISTER_FRONTEND_URL,REGISTER_ORG_FRONTEND_URL,NODE_ENV,FRONTEND_LINK,ADMIN_EMAIL,ADMIN_PASS,COORDINATOR_EMAIL,COORDINATOR_PASS,GH_TOKEN, PUSHER_CLUSTER
script: |
touch env
echo "MONGO_PROD_DB=${MONGO_PROD_DB}" >> env
# Pull the latest image
docker pull ${{ secrets.DOCKER_HUB_USERNAME2 }}/atlp-devpulse-bn:latest
# Stop and remove existing container if it exists
docker stop $(docker ps -q --filter publish=4008) || true
docker rm $(docker ps -aq --filter publish=4008) || true
# Run new container
docker run -d \
-p 4008:3000 \
Expand Down

0 comments on commit bae3877

Please sign in to comment.