Skip to content

Commit

Permalink
Test: Load .env file before build
Browse files Browse the repository at this point in the history
  • Loading branch information
mesudip committed Jan 2, 2025
1 parent 67c6130 commit b842cfe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-and-deploy-test-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ jobs:
IPFS_PROJECT_ID=${{ secrets.IPFS_PROJECT_ID }}
EOF
# Source the .env file
echo "Sourcing .env file..."
source "$ENV_FILE"
# Execute the build-and-deploy.sh script
./build-and-deploy.sh update-images
yes | docker system prune -f || echo "Ignoring system prune error"
1 change: 1 addition & 0 deletions tests/test-infrastructure/build-and-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export GOVTOOL_TAG

. ./scripts/deploy-stack.sh

load_env
check_env

# Build images
Expand Down

0 comments on commit b842cfe

Please sign in to comment.