From 9f58d02c78e19d80eae819acf21b07ebb903c47a Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Fri, 4 Mar 2022 18:22:02 +0100 Subject: [PATCH] updated workflows --- .github/workflows/dataProductDeploymentDev.yml | 4 ++-- .github/workflows/dataProductDeploymentTestProd.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dataProductDeploymentDev.yml b/.github/workflows/dataProductDeploymentDev.yml index 78043de..574f299 100644 --- a/.github/workflows/dataProductDeploymentDev.yml +++ b/.github/workflows/dataProductDeploymentDev.yml @@ -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 }} @@ -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' diff --git a/.github/workflows/dataProductDeploymentTestProd.yml b/.github/workflows/dataProductDeploymentTestProd.yml index 5a4e4be..ded2579 100644 --- a/.github/workflows/dataProductDeploymentTestProd.yml +++ b/.github/workflows/dataProductDeploymentTestProd.yml @@ -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 }} @@ -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: @@ -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' @@ -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'