Skip to content

Commit

Permalink
update steps
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Liu <[email protected]>
  • Loading branch information
Flyingliuhub committed Feb 21, 2024
1 parent 0d4ddf8 commit febcec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
KIBANASERVER: ${{ secrets.kibanaserver }}

- name: Step 2 - Replace Token in opensearch.yml
if: ${{ (inputs.deploy-env == 'observability') || (inputs.deploy-env == 'dev') }}
if: ${{ (inputs.deploy-env == 'observability') || (inputs.deploy-env == 'dev') || (inputs.deploy-env == 'prod') }}
uses: cschleiden/replace-tokens@v1
with:
files: '["${{ github.workspace }}/config/playground/helm/${{inputs.deploy-env}}/helm-opensearch.yaml"]'
Expand All @@ -80,7 +80,7 @@ jobs:
ROOT_CA_CERT: ${{ secrets.root_ca_cert }}

- name: Step 2.1 - Replace Token in machinelearning.yml
if: ${{ (inputs.deploy-env == 'observability') || (inputs.deploy-env == 'dev') }}
if: ${{ (inputs.deploy-env == 'observability') || (inputs.deploy-env == 'dev') || (inputs.deploy-env == 'prod') }}
uses: cschleiden/replace-tokens@v1
with:
files: '["${{ github.workspace }}/config/playground/helm/${{inputs.deploy-env}}/helm-machinelearning.yaml"]'
Expand Down

0 comments on commit febcec4

Please sign in to comment.