Update deploy.yml

This commit is contained in:
Thilo Hohlt
2024-10-27 01:33:26 +02:00
committed by GitHub
parent bef4d17663
commit dd718efceb

View File

@@ -13,7 +13,10 @@ jobs:
outputs:
env_name: ${{ github.event.workflow_run.head_branch == 'devel' && 'qs' || 'prod' }}
steps:
- run: echo "Determining environment..."
- name: Determine and print environment
run: |
echo "Determining environment..."
echo "Environment name: ${{ github.event.workflow_run.head_branch == 'devel' && 'qs' || 'prod' }}"
deploy:
needs: environment-check