Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsmh authored Sep 23, 2023
1 parent 4d49264 commit f66ccff
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Deploy to Fly
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy proxy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
11 changes: 11 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
app = "bilifeedbot"
primary_region = "lhr"
swap_size_mb = 1024

[http_service]
internal_port = 9000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]

0 comments on commit f66ccff

Please sign in to comment.