Skip to content

Commit

Permalink
🧱 Readd remote build and add canaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Muir committed Sep 13, 2023
1 parent bbec21e commit 48ebd71
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,7 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.\*

# Fly

fly.toml
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
# Build container
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl auth
- run: flyctl deploy
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
9 changes: 9 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ primary_region = "lhr"
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[[http_service.checks]]
grace_period = "2s"
interval = "10s"
method = "GET"
timeout = "5s"
path = "/"

[deploy]
strategy = "canary"

0 comments on commit 48ebd71

Please sign in to comment.