Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/

name: Fly Deploy
name: Fly Deploy production
on:
push:
branches:
- main
tags:
- '*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
deploy:
name: Deploy app
name: Deploy app in production
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/fly-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Fly Deploy staging

on:
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
deploy:
name: Deploy app in staging
runs-on: ubuntu-latest
concurrency: deploy-group-staging # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly-staging.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_STAGING_API_TOKEN }}
23 changes: 23 additions & 0 deletions fly-staging.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# fly.toml app configuration file generated for lightpanda-gomcp-staging on 2025-06-20T09:30:32-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'lightpanda-gomcp-staging'
primary_region = 'fra'

[build]

[env]
PORT = '8080'

[http_service]
internal_port = 8081
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[vm]]
size = 'shared-cpu-1x'
Loading