-
-
Notifications
You must be signed in to change notification settings - Fork 25
41 lines (28 loc) · 866 Bytes
/
deploy-fly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Deploy Fly
on:
workflow_dispatch:
jobs:
web:
name: Deploy Web
runs-on: ubuntu-latest
concurrency: deploy-fly-web-group
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: |
flyctl deploy --config ./apps/frontend/web/fly.toml \
--app animegarden-web-test --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
server:
name: Deploy Server
runs-on: ubuntu-latest
concurrency: deploy-fly-server-group
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: |
flyctl deploy --config ./apps/backend/manager/fly.toml \
--app animegarden-server-test --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}