diff --git a/.github/workflows/promote-production.yml b/.github/workflows/promote-production.yml index e27cb30..45bc5e1 100644 --- a/.github/workflows/promote-production.yml +++ b/.github/workflows/promote-production.yml @@ -8,35 +8,35 @@ # 3) Run predefined tests for this project in wM.io PROD environment # # ------------------------------------------------------------------------------ - name: Deploy Production - run-name: Promote to Prod Environment - on: - workflow_call: - push: - branches: - - production - paths: - - 'assets/**' - - jobs: - # ------------------------------- - # Import test assets to wM.io - # ------------------------------- - Promote-Prod-Assets: - uses: HMHansson/ICA-DevOps/.github/workflows/promote.yml@main - secrets: inherit - with: - environment: Production - - # ------------------------------- - # Validate PROD with test cases - # ------------------------------- - Validate-Prod: - if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} - needs: [Promote-Prod-Assets] - uses: HMHansson/ICA-DevOps/.github/workflows/validation-bruno.yml@main - secrets: inherit - with: - environment: Production +name: Deploy Production +run-name: Promote to Prod Environment +on: + workflow_call: + push: + branches: + - production + paths: + - 'assets/**' + +jobs: + # ------------------------------- + # Import test assets to wM.io + # ------------------------------- + Promote-Prod-Assets: + uses: HMHansson/ICA-DevOps/.github/workflows/promote.yml@main + secrets: inherit + with: + environment: Production + + # ------------------------------- + # Validate PROD with test cases + # ------------------------------- + Validate-Prod: + if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} + needs: [Promote-Prod-Assets] + uses: HMHansson/ICA-DevOps/.github/workflows/validation-bruno.yml@main + secrets: inherit + with: + environment: Production \ No newline at end of file diff --git a/.github/workflows/promote-test.yml b/.github/workflows/promote-test.yml index 5e54af4..6906e7d 100644 --- a/.github/workflows/promote-test.yml +++ b/.github/workflows/promote-test.yml @@ -4,7 +4,7 @@ # - This pipeline is triggered by a github Pull Request/merge # # 1) Checks out test branch -# 2) Run an import of all test assets for this project in wM.io TEST environment +# 2) Run an import of all assets for this project in wM.io TEST environment # 3) Run predefined tests for this project in wM.io TEST environment # # ------------------------------------------------------------------------------