Skip to content

Commit

Permalink
fix: modyfing deploy swarm script for c.i.
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelePasini committed Sep 12, 2024
1 parent 4a084d1 commit 3103141
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions dataplatform/multiple_stacks/deploy-swarm.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/bash
set -ex

set -o allexport
source ./../.env

mkdir -p runtime
if [ -z "./../.env"]; then
set -o allexport
source ./../.env
mkdir -p runtime
else
set -o allexport
source ./../.env.example
mkdir -p runtime
fi

# Check if the substitution file path is provided as a command-line argument
if [ $# -eq 2 ]; then
Expand Down

0 comments on commit 3103141

Please sign in to comment.