Skip to content

Commit

Permalink
sad
Browse files Browse the repository at this point in the history
  • Loading branch information
HMHansson committed Jul 3, 2024
1 parent 644451f commit a2b3e8d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/promote-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


2 changes: 1 addition & 1 deletion .github/workflows/promote-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit a2b3e8d

Please sign in to comment.