Skip to content

Commit

Permalink
moving configs to config dir for fly
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Jun 11, 2024
1 parent 75feecd commit 827bede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"links": [{
"type": "Config",
"src": "./config.graphql"
"src": "config/config.graphql"
}
]
}
4 changes: 2 additions & 2 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ deploy() {
TF_LOG=DEBUG terraform apply -auto-approve
elif [ "$PROVIDER" = "fly" ]; then
# todo: handle name collisions
cp -r /app/* /fly
mkdir -p /fly/config
cp -r /app/* /fly/config
setup_flyctl
cd /fly
ls
fly apps list | tail -n +2 | awk '{print $1}' | grep -w tailcall > /dev/null && fly apps destroy $FLY_APP_NAME --auto-confirm
create_fly_toml
flyctl launch --local-only --copy-config
Expand Down

0 comments on commit 827bede

Please sign in to comment.