Skip to content

Commit

Permalink
copying config to /fly
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Jun 18, 2024
1 parent 5715d79 commit 70ec48d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ deploy() {
echo "List: $(find /app -type f)"
TF_LOG=DEBUG terraform apply -auto-approve
elif [ "$PROVIDER" = "fly" ]; then
mkdir -p /fly/config
# todo: handle name collisions
cp -r /app/* /fly/config
cp -r /app/* /fly
awk -v config_path="$TC_RELATIVE_PATH" "{sub(/TC_CONFIG_PATH/,config_path)}1" /extras/config.json > /fly/config.json
cat /fly/config.json
setup_flyctl
Expand Down

0 comments on commit 70ec48d

Please sign in to comment.