Skip to content

Commit

Permalink
set min machines to zero and fix gha
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaellaude committed May 15, 2024
1 parent f5ba9f7 commit 1167035
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
push:
branches:
- master
# paths:
# - "backend/"
paths:
- "backend/**"
jobs:
deploy:
name: Deploy app
Expand Down
4 changes: 2 additions & 2 deletions backend/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ primary_region = 'ewr'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
min_machines_running = 0
processes = ['app']

[[vm]]
Expand Down

0 comments on commit 1167035

Please sign in to comment.