adjusted conditional statements for testing
All checks were successful
Build and Deploy Hugo Site / build_and_deploy (push) Successful in 16s

This commit is contained in:
Andreas Hnida 2024-04-18 09:03:25 +02:00
commit 1cd343a8f8

View file

@ -26,7 +26,7 @@ jobs:
field: 'environment' field: 'environment'
- name: Echo 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 # - name: Set up Go
# uses: actions/setup-go@v5.0.0 # uses: actions/setup-go@v5.0.0
@ -78,11 +78,11 @@ jobs:
ssh-private-key: ${{ secrets.VFO_SSH_KEY }} ssh-private-key: ${{ secrets.VFO_SSH_KEY }}
- name: Deploy to Development - 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" run: echo "Running steps for Development Environment"
- name: Deploy to Production - 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" run: echo "Running steps for Production Environment"
# - name: Deploy to Development # - name: Deploy to Development