Skip to content

Fly Deploy

Fly Deploy #141

Workflow file for this run

---
name: Fly Deploy
on:
workflow_dispatch:
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Send Deployment Starting Notification
env:
ZULIP_SITE: "https://upai.zulipchat.com"
ZULIP_EMAIL: "github-bot@upai.zulipchat.com"
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
run: |
./scripts/notify-deploy start
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Send Deployment Complete Notification
env:
ZULIP_SITE: "https://upai.zulipchat.com"
ZULIP_EMAIL: "github-bot@upai.zulipchat.com"
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
run: |
./scripts/notify-deploy