-
Notifications
You must be signed in to change notification settings - Fork 7
44 lines (40 loc) · 1.24 KB
/
Copy pathdeploy-public-services.yaml
File metadata and controls
44 lines (40 loc) · 1.24 KB
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
name: Deploy public services
concurrency: public
permissions:
id-token: write
contents: read
on:
workflow_run:
workflows:
[
"Build and publish the API",
"Build and publish the Authentication service",
"Build and publish the Gateway service",
"Build and publish the Admin portal",
"Deploy generic resources",
]
types:
- completed
workflow_dispatch:
jobs:
provision-public-services:
name: Deploy the public services
uses: ./.github/workflows/reusable-provision.yaml
with:
environment: ${{ vars.ENVIRONMENT }}
infrastructure-path: external
service-name: public-services
application-names: ${{ vars.APPLICATION_NAMES }}
supertokens-core-docker-image-version: ${{ vars.DOCKER_SUPERTOKENS_CORE_VERSION }}
postgres-docker-image-version: ${{ vars.DOCKER_POSTGRES_VERSION }}
secrets: inherit
proxy-records:
name: Proxy DNS records for the public services
needs: provision-public-services
uses: ./.github/workflows/reusable-provision.yaml
with:
environment: ${{ vars.ENVIRONMENT }}
infrastructure-path: dns-proxy
service-name: dns-proxy
application-names: ${{ vars.APPLICATION_NAMES }}
secrets: inherit