2023-12-01 04:04:18 -08:00
|
|
|
name: Deploy to Fly Production
|
2023-01-13 11:27:05 -08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-12-01 04:02:41 -08:00
|
|
|
branches: [production]
|
2023-01-13 11:27:05 -08:00
|
|
|
|
|
|
|
env:
|
|
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Fly
|
|
|
|
uses: superfly/flyctl-actions/setup-flyctl@master
|
|
|
|
|
2023-12-01 04:02:41 -08:00
|
|
|
- name: Deploy lite-rpc
|
|
|
|
run: flyctl deploy -c cd/lite-rpc.toml --remote-only
|
2023-09-09 08:55:37 -07:00
|
|
|
|
|
|
|
# - name: Deploy quic-forward-proxy
|
|
|
|
# run: flyctl deploy -c cd/quic-forward-proxy.toml --remote-only
|