Skip to content

Commit

Permalink
fix: don't exit on cmd failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ceelogre committed Dec 3, 2024
1 parent 1bd4ffc commit 601e6eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Docker Build and Deploy

on:
push:
pull_request:
branches:
- develop

Expand Down Expand Up @@ -44,8 +44,6 @@ 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: |
set -e # Exit immediately if a command exits with a non-zero status
set -x # Print commands and their arguments as they are executed
touch env
echo "MONGO_PROD_DB=${MONGO_PROD_DB}" >> env
# Pull the latest image
Expand Down

0 comments on commit 601e6eb

Please sign in to comment.