-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (42 loc) · 1.27 KB
/
publish.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
---
name: deploy
on:
push:
branches:
- main
jobs:
create-cloudgov-services-staging:
name: create services (staging)
uses: gsa/data.gov/.github/workflows/create-services-template.yml@main
with:
environ: staging
secrets: inherit
create-cloudgov-services-prod:
name: create services (prod)
uses: gsa/data.gov/.github/workflows/create-services-template.yml@main
with:
environ: prod
secrets: inherit
# yamllint disable rule:line-length
deploy-staging:
name: deploy (staging)
needs:
- create-cloudgov-services-staging
uses: gsa/data.gov/.github/workflows/deploy-template.yml@main
with:
environ: staging
app_url: https://inventory-stage-datagov.app.cloud.gov
app_names: "{\"include\":[{\"app\":\"inventory\",\"smoketest\":true},{\"app\":\"inventory-proxy\"}]}"
secrets: inherit
deploy-prod:
name: deploy (prod)
needs:
- create-cloudgov-services-prod
- deploy-staging
uses: gsa/data.gov/.github/workflows/deploy-template.yml@main
with:
environ: prod
app_url: https://inventory.data.gov
app_names: "{\"include\":[{\"app\":\"inventory\",\"smoketest\":true},{\"app\":\"inventory-proxy\"}]}"
secrets: inherit
# yamllint enable rule:line-length