Merge pull request #813 from GSA/apitoken-name #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |