Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinbuss committed Mar 4, 2022
1 parent 2278a15 commit 9f58d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dataProductDeploymentDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
validation_dev:
uses: ${{ github.repository }}/.github/workflows/templates/validation.yml@${{github.sha}}
uses: ./.github/workflows/templates/validation.yml
name: "Validation of IaC templates - Dev"
with:
environment: ${{ env.DEV_ENVIRONMENT_NAME }}
Expand All @@ -30,7 +30,7 @@ jobs:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}

deployment_dev:
uses: ${{ github.repository }}/.github/workflows/templates/deployment.yml@${{github.sha}}
uses: ./.github/workflows/templates/deployment.yml
name: "Deployment of IaC templates - Dev"
needs: [ validation_dev ]
if: github.event_name == 'push'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dataProductDeploymentTestProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
validation_test:
uses: "${{ github.repository }}/.github/workflows/templates/validation.yml@${{ github.ref_name }}"
uses: ./.github/workflows/templates/validation.yml
name: "Validation of IaC templates - Test"
with:
environment: ${{ env.TEST_ENVIRONMENT_NAME }}
Expand All @@ -29,7 +29,7 @@ jobs:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}

validation_prod:
uses: "${{ github.repository }}/.github/workflows/templates/validation.yml@${{ github.ref_name }}"
uses: ./.github/workflows/templates/validation.yml
name: "Validation of IaC templates - Prod"
needs: [ validation_test ]
with:
Expand All @@ -41,7 +41,7 @@ jobs:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}

deployment_test:
uses: "${{ github.repository }}/.github/workflows/templates/deployment.yml@${{ github.ref_name }}"
uses: ./.github/workflows/templates/deployment.yml
name: "Deployment of IaC templates - Test"
needs: [ validation_prod ]
if: github.event_name == 'release'
Expand All @@ -54,7 +54,7 @@ jobs:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}

deployment_prod:
uses: "${{ github.repository }}/.github/workflows/templates/deployment.yml@${{ github.ref_name }}"
uses: ./.github/workflows/templates/deployment.yml
name: "Deployment of IaC templates - Prod"
needs: [ deployment_test ]
if: github.event_name == 'release'
Expand Down

0 comments on commit 9f58d02

Please sign in to comment.