mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
amend the deploy file
This commit is contained in:
parent
1ed368f507
commit
4bec54c7fa
1 changed files with 14 additions and 4 deletions
18
.github/workflows/Deploy.yml
vendored
18
.github/workflows/Deploy.yml
vendored
|
|
@ -2,7 +2,17 @@ name: Sap Change Model Deploy
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ sap-dev, sap-prod, heat-dev, heat-prod, carbon-dev, carbon-prod]
|
||||
branches:
|
||||
[
|
||||
sap-dev,
|
||||
sap-prod,
|
||||
heat-dev,
|
||||
heat-prod,
|
||||
carbon-dev,
|
||||
carbon-prod,
|
||||
"sap_baseline-dev",
|
||||
"sap_baseline-prod",
|
||||
]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
|
@ -31,8 +41,8 @@ jobs:
|
|||
- name: set secret prefix which is used across multiple steps
|
||||
id: secret_prefix
|
||||
run: |
|
||||
# Convert branch name to uppercase and replace hyphens with underscores
|
||||
echo "::set-output name=secret_prefix::$(echo "${{ github.ref_name }}" | tr 'a-z-' 'A-Z_')"
|
||||
# Convert branch name to uppercase and replace hyphens with underscores
|
||||
echo "::set-output name=secret_prefix::$(echo "${{ github.ref_name }}" | tr 'a-z-' 'A-Z_')"
|
||||
|
||||
- name: Set domain name
|
||||
id: set_domain
|
||||
|
|
@ -116,7 +126,7 @@ jobs:
|
|||
env:
|
||||
RUNTIME_ENVIRONMENT: ${{ steps.set_runtime_environment.outputs.runtime_environment }}
|
||||
PREDICTIONS_BUCKET: ${{ steps.set_s3_buckets.outputs.predictions_bucket }}
|
||||
DATA_BUCKET: ${{ steps.set_s3_buckets.outputs.data_bucket }}
|
||||
DATA_BUCKET: ${{ steps.set_s3_buckets.outputs.data_bucket }}
|
||||
DOMAIN_NAME: ${{ steps.set_domain.outputs.domain }}
|
||||
ECR_URI: ${{ steps.set_ecr_credentials.outputs.ecr_uri }}
|
||||
GITHUB_SHA: ${{ github.sha }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue