Change environment default

This commit is contained in:
zandercymatics 2023-11-29 13:28:29 -07:00
parent d159ac09bf
commit e21b8b6e71
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: