-
Notifications
You must be signed in to change notification settings - Fork 8
60 lines (53 loc) · 1.5 KB
/
manual-deploy.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
52
53
54
55
56
57
58
59
60
name: Manual Deploy [boxel]
on:
workflow_dispatch:
inputs:
environment:
description: Deployment environment
required: false
default: staging
permissions:
contents: read
id-token: write
jobs:
build-host:
name: Build host
uses: ./.github/workflows/build-host.yml
secrets: inherit
with:
environment: ${{ inputs.environment }}
build-realm-server:
name: Build realm-server
uses: cardstack/gh-actions/.github/workflows/waypoint-build.yml@main
secrets: inherit
with:
app: "boxel-realm-server"
environment: ${{ inputs.environment }}
restore-mtime: true
working-directory: "packages/realm-server"
deploy-host:
name: Deploy host
needs: [build-host, build-realm-server]
uses: ./.github/workflows/deploy-host.yml
secrets: inherit
with:
environment: ${{ inputs.environment }}
realm-server-efs-config:
name: EFS Config
needs: [build-realm-server]
uses: ./.github/workflows/realm-server-efs-config.yml
with:
environment: ${{ inputs.environment }}
deploy-realm-server:
name: Deploy realm server
needs:
- build-host
- realm-server-efs-config
uses: cardstack/gh-actions/.github/workflows/waypoint-deploy.yml@main
secrets: inherit
with:
app: "boxel-realm-server"
environment: ${{ inputs.environment }}
working-directory: "packages/realm-server"
efs-config: ${{ needs.realm-server-efs-config.outputs.config }}
retain: "0"