From 601e6ebf0748f922dd2db8d50060bddf7cd6bfc4 Mon Sep 17 00:00:00 2001 From: ceelogre Date: Tue, 3 Dec 2024 15:12:45 +0200 Subject: [PATCH] fix: don't exit on cmd failure --- .github/workflows/docker-image.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3002f92..8cbda2d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,7 +1,7 @@ name: Docker Build and Deploy on: - push: + pull_request: branches: - develop @@ -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