Skip to content

Commit

Permalink
fix: fly -> flyctl
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaquiery committed Jan 17, 2025
1 parent 8e2b7aa commit 4cd9eb0
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,23 @@ jobs:
- name: Create Demo Backend
run: |
echo "Creating app $FLY_DEMO_NAME"
fly apps create \
flyctl apps create \
--name $FLY_DEMO_NAME \
--org $FLY_ORG
- name: Connect DB to Backend
run: |
echo "Connecting $FLY_DEMO_DB_NAME to $FLY_DEMO_NAME"
flyctl postgres attach \
--postgres $FLY_DEMO_DB_NAME \
--config ./fly.demo.toml \
--app $FLY_DEMO_NAME \
--yes
- name: Deploy Demo Backend
run: |
echo "Deploying app $FLY_DEMO_NAME"
fly deploy \
flyctl deploy \
--app $FLY_DEMO_NAME \
--config ./fly.demo.toml \
--image ghcr.io/galv-team/galv-backend:$DEMO_BACKEND_VERSION \
Expand All @@ -74,12 +85,3 @@ jobs:
--regions lhr \
--remote-only \
--yes
- name: Connect DB to Backend
run: |
echo "Connecting $FLY_DEMO_DB_NAME to $FLY_DEMO_NAME"
fly postgres attach \
--postgres $FLY_DEMO_DB_NAME \
--config ./fly.demo.toml \
--app $FLY_DEMO_NAME \
--yes

0 comments on commit 4cd9eb0

Please sign in to comment.