25 lines
533 B
YAML
25 lines
533 B
YAML
name: Deploy to Fly Production
|
|
|
|
on:
|
|
push:
|
|
branches: [production]
|
|
|
|
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
|
|
|
|
- name: Deploy lite-rpc
|
|
run: flyctl deploy -c cd/lite-rpc.toml --remote-only
|
|
|
|
# - name: Deploy quic-forward-proxy
|
|
# run: flyctl deploy -c cd/quic-forward-proxy.toml --remote-only
|