adjusted conditional statements for testing
All checks were successful
Build and Deploy Hugo Site / build_and_deploy (push) Successful in 16s
All checks were successful
Build and Deploy Hugo Site / build_and_deploy (push) Successful in 16s
This commit is contained in:
parent
e6d663535c
commit
1cd343a8f8
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue