Skip to content

Commit

Permalink
fix: Fixing Flutter deploy. #1
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Feb 10, 2023
1 parent 6e192aa commit 397d7a0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@ jobs:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2

# Creates the release build.
# The SERVER_URL must point to the backend domain so the frontend can connect.
# It is defined in the repo secret.
- name: Create release build
run: flutter build web --dart-define=SERVER_URL=wss://${{ secrets.FRONTEND_DOMAIN }}/socket/websocket --dart-define=CHANNEL_NAME=room:lobby

- uses: superfly/flyctl-actions@1.1
with:
args: "deploy --config ./fly.toml --dockerfile ./Dockerfile"
args: "deploy --config ./app/fly.toml --dockerfile ./app/Dockerfile"

0 comments on commit 397d7a0

Please sign in to comment.