mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +02:00
Change environment default
This commit is contained in:
parent
d159ac09bf
commit
e21b8b6e71
2 changed files with 2 additions and 2 deletions
2
.github/workflows/daily-csv-upload.yaml
vendored
2
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
||||||
id: var
|
id: var
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : 'za';
|
const environment = (github && github.event && github.event.inputs) ? github.event.inputs.environment : 'ZA';
|
||||||
core.setOutput('environment', environment);
|
core.setOutput('environment', environment);
|
||||||
|
|
||||||
wait-for-deploy:
|
wait-for-deploy:
|
||||||
|
|
|
@ -38,7 +38,7 @@ if key_service and key_service.credentials:
|
||||||
else:
|
else:
|
||||||
secret = env
|
secret = env
|
||||||
|
|
||||||
# Get secrets from Cloud.gov user provided s3 service, if exists
|
# Get secrets from Cloud.gov user provided s3 service, if it exists
|
||||||
# If not, get secrets from environment variables.
|
# If not, get secrets from environment variables.
|
||||||
s3_key_service = AppEnv().get_service(name="getgov-s3")
|
s3_key_service = AppEnv().get_service(name="getgov-s3")
|
||||||
if s3_key_service and s3_key_service.credentials:
|
if s3_key_service and s3_key_service.credentials:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue