23 lines
404 B
YAML
23 lines
404 B
YAML
name: Deploy Prod Router to Fly
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'production/router-*'
|
|
|
|
env:
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Fly
|
|
uses: superfly/flyctl-actions/setup-flyctl@master
|
|
|
|
- name: Deploy
|
|
run: flyctl deploy -c fly.toml -a router-2
|