new fly
This commit is contained in:
parent
e9ce42747a
commit
774896fad3
2 changed files with 11 additions and 9 deletions
4
.github/workflows/fly-deploy.yml
vendored
4
.github/workflows/fly-deploy.yml
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
|
||||||
|
|
||||||
name: Fly Deploy
|
name: Fly Deploy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,7 +9,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy app
|
name: Deploy app
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
concurrency: deploy-group
|
concurrency: deploy-group # optional: ensure only one action runs at a time
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||||
|
|
16
fly.toml
16
fly.toml
|
@ -1,4 +1,4 @@
|
||||||
# fly.toml app configuration file generated for atridotdad on 2024-10-19T22:21:23-06:00
|
# fly.toml app configuration file generated for atridotdad on 2024-11-20T14:25:08-06:00
|
||||||
#
|
#
|
||||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
#
|
#
|
||||||
|
@ -9,12 +9,12 @@ primary_region = 'ord'
|
||||||
[build]
|
[build]
|
||||||
|
|
||||||
[http_service]
|
[http_service]
|
||||||
internal_port = 3000
|
internal_port = 3000
|
||||||
force_https = true
|
force_https = true
|
||||||
auto_stop_machines = 'suspend'
|
auto_stop_machines = 'suspend'
|
||||||
auto_start_machines = true
|
auto_start_machines = true
|
||||||
min_machines_running = 0
|
min_machines_running = 0
|
||||||
processes = ['app']
|
processes = ['app']
|
||||||
|
|
||||||
[[vm]]
|
[[vm]]
|
||||||
size = 'shared-cpu-1x'
|
size = 'shared-cpu-1x'
|
||||||
|
|
Loading…
Add table
Reference in a new issue