Skip to content

Commit b73f514

Browse files
committed
Add Fly.io deploy step to landing CI/CD
Build job was running but never deploying. Add deploy-landing job that runs flyctl deploy --remote-only after successful build.
1 parent ce87ad5 commit b73f514

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/deploy-landing.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,21 @@ jobs:
4747
NEXT_PUBLIC_SITE_URL: https://hyperpush.dev
4848
NEXT_PUBLIC_DISCORD_URL: https://discord.gg/6SRhbZw7ZG
4949
run: npm --prefix mesher/landing run build
50+
51+
deploy-landing:
52+
name: Deploy landing to Fly.io
53+
needs: build-landing
54+
runs-on: ubuntu-latest
55+
timeout-minutes: 15
56+
steps:
57+
- name: Checkout
58+
uses: actions/checkout@v4
59+
60+
- name: Setup flyctl
61+
uses: superfly/flyctl-actions/setup-flyctl@master
62+
63+
- name: Deploy to Fly.io
64+
run: flyctl deploy --remote-only
65+
working-directory: mesher/landing
66+
env:
67+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)