Update deploy.yml

This commit is contained in:
Thilo Hohlt
2024-10-27 00:22:56 +02:00
committed by GitHub
parent 2ded46f9c0
commit a0190a324c

View File

@@ -10,7 +10,8 @@ jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' }}
environment: ${{ github.event.workflow_run.head_branch == 'devel' && 'qs' || 'prod' }}
environment:
name: ${{ github.event.workflow_run.head_branch == 'devel' && 'qs' || 'prod' }}
steps:
- uses: actions/checkout@v4