diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml new file mode 100644 index 00000000..59f4f99a --- /dev/null +++ b/.github/workflows/fly-deploy.yml @@ -0,0 +1,18 @@ +# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ + +name: Fly Deploy (Paused) +on: + push: + branches: + - main +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + concurrency: deploy-group # 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 + # env: + # FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} diff --git a/apps/connect/.env.production b/apps/connect/.env.production index 4640257e..944ad88e 100644 --- a/apps/connect/.env.production +++ b/apps/connect/.env.production @@ -1,4 +1,5 @@ -VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://syncserver.hypergraph.thegraph.com" +# VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://syncserver.hypergraph.thegraph.com" +VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://hypergraph.fly.dev" VITE_HYPERGRAPH_CHAIN="geo-testnet" VITE_HYPERGRAPH_API_URL="https://hypergraph-v2-testnet.up.railway.app/graphql" VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz" diff --git a/fly.toml b/fly.toml new file mode 100644 index 00000000..19e88a83 --- /dev/null +++ b/fly.toml @@ -0,0 +1,22 @@ +# fly.toml app configuration file generated for hypergraph on 2025-06-27T09:23:00+02:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'hypergraph' +primary_region = 'fra' + +[build] + +[http_service] + internal_port = 3030 + force_https = true + auto_stop_machines = 'stop' + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] + +[[vm]] + memory = '1gb' + cpu_kind = 'shared' + cpus = 1