Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Oct 8, 2023
1 parent e6def39 commit f51760b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/staging-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Staging Deploy

on: pull_request

jobs:
deploy:
name: Deploy App
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only -c fly.staging.toml
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

17 changes: 17 additions & 0 deletions fly.staging.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# fly.toml app configuration file generated for staging-the-office on 2023-10-08T11:24:54-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "staging-the-office"
primary_region = "ewr"

[build]

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

0 comments on commit f51760b

Please sign in to comment.