generated from UoaWDCC/ssr-template
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (46 loc) · 1.53 KB
/
deploy.auisproduction.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
42
43
44
45
46
47
48
49
50
51
name: Fly Deploy AUIS production
on:
push:
branches:
- main
jobs:
deploy-web:
name: Deploy Web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly.auis.toml --build-secret VITE_CLERK_PUBLISHABLE_KEY=${{ secrets.VITE_STRIPE_PUBLISHABLE_KEY }}
working-directory: ./web
env:
FLY_API_TOKEN: ${{ secrets.FLY_AUIS_API_TOKEN }}
deploy-api:
name: Deploy Api
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly.auis.toml
working-directory: ./api
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_AUIS_API_TOKEN }}
deploy-strapi:
name: Deploy Strapi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly.auis.toml
working-directory: ./strapi
env:
FLY_API_TOKEN: ${{ secrets.FLY_STRAPI_AUIS_API_TOKEN }}
deploy-supertokens:
name: Deploy Supertokens
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly.auis.toml
working-directory: ./supertoken-core
env:
FLY_API_TOKEN: ${{ secrets.FLY_SUPERTOKENS_AUIS_API_TOKEN }}