Skip to content

Force redirect for unauthenticated and add posthog events (#122) #164

Force redirect for unauthenticated and add posthog events (#122)

Force redirect for unauthenticated and add posthog events (#122) #164

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
- staging
jobs:
prod-deploy:
if: github.ref == 'refs/heads/main'
name: Deploy Production App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy -c fly.toml --app bloom-bot --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
staging-deploy:
if: github.ref == 'refs/heads/staging'
name: Deploy Staging App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy -c fly.toml --app tutor-gpt --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}