Skip to content

Commit b842cfe

Browse files
committed
Test: Load .env file before build
1 parent 67c6130 commit b842cfe

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/build-and-deploy-test-stack.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ jobs:
8787
IPFS_PROJECT_ID=${{ secrets.IPFS_PROJECT_ID }}
8888
EOF
8989
90-
# Source the .env file
91-
echo "Sourcing .env file..."
92-
source "$ENV_FILE"
93-
9490
# Execute the build-and-deploy.sh script
9591
./build-and-deploy.sh update-images
9692
yes | docker system prune -f || echo "Ignoring system prune error"

tests/test-infrastructure/build-and-deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export GOVTOOL_TAG
1111

1212
. ./scripts/deploy-stack.sh
1313

14+
load_env
1415
check_env
1516

1617
# Build images

0 commit comments

Comments
 (0)