From 1cd343a8f851dcdae8a350e0a31cb86cba2514e7 Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Thu, 18 Apr 2024 09:03:25 +0200 Subject: [PATCH] adjusted conditional statements for testing --- .gitea/workflows/pipeline-test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pipeline-test.yaml b/.gitea/workflows/pipeline-test.yaml index 7916ac5..94a7479 100644 --- a/.gitea/workflows/pipeline-test.yaml +++ b/.gitea/workflows/pipeline-test.yaml @@ -26,7 +26,7 @@ jobs: field: 'environment' - name: Echo environment - run: echo "Environment is ${{ steps.read_toml.outputs.environment }}" + run: echo "Environment is ${{ steps.read_toml.outputs.value }}" # - name: Set up Go # uses: actions/setup-go@v5.0.0 @@ -78,11 +78,11 @@ jobs: ssh-private-key: ${{ secrets.VFO_SSH_KEY }} - name: Deploy to Development - if: steps.read_toml.outputs.environment == 'development' + if: steps.read_toml.outputs.value == 'development' run: echo "Running steps for Development Environment" - name: Deploy to Production - if: steps.read_toml.outputs.environment == 'production' + if: steps.read_toml.outputs.value == 'production' run: echo "Running steps for Production Environment" # - name: Deploy to Development