Verwijder automatische test-deploy bij PR's
Continuous Integration / config (pull_request) Successful in 9s
Continuous Integration / prepare (pull_request) Successful in 1m18s
Continuous Integration / build-production (pull_request) Skipped
Continuous Integration / build (pull_request) Successful in 2m0s
Continuous Integration / test (pull_request) Successful in 1m53s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Skipped

De tijdelijke pull_request-conditie in deploy-test zorgde dat elke PR
automatisch naar test deployde. Dat is niet meer gewenst: een
test-deploy vanaf een feature-branch kan al zonder PR via een
handmatige workflow_dispatch-run met 'Deploy to Test' aangevinkt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-17 10:18:06 +02:00
co-authored by Claude Sonnet 5
parent 75ec74fe21
commit ea3ad38bdc
+9 -10
View File
@@ -254,16 +254,15 @@ jobs:
deploy-test: deploy-test:
needs: [build, test, config] needs: [build, test, config]
# TIJDELIJK: 'pull_request' is toegevoegd zodat elke PR ook automatisch # De push-naar-master-conditie hieronder is bewust ONAFHANKELIJK van het
# naar de testomgeving deployed, om testen tijdens deze werkbranch te # 'deploy_test'-vinkje: de automatische testdeploy bij een merge naar
# vereenvoudigen. Verwijder de 'pull_request'-conditie hieronder weer # master moet altijd blijven gebeuren. Het vinkje geldt alleen voor
# zodra dat niet meer nodig is. # handmatige workflow_dispatch-runs. Een PR triggert hier bewust GEEN
# # deploy: wil je een feature-branch naar test deployen, start dan zelf
# De push-naar-master- en pull_request-condities hieronder zijn bewust # een workflow_dispatch-run op die branch met 'Deploy to Test' aangevinkt
# ONAFHANKELIJK van het 'deploy_test'-vinkje: de automatische testdeploy # (Gitea: Actions → Continuous Integration → Run workflow → branch
# bij een merge naar master moet altijd blijven gebeuren. Het vinkje # selecteren) - dat vereist geen (afgeronde) PR.
# geldt alleen voor handmatige workflow_dispatch-runs. if: (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_test == 'true') || (github.event_name == 'push' && github.ref == 'refs/heads/master')
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_test == 'true') || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')
uses: ./.gitea/workflows/deploy.yaml uses: ./.gitea/workflows/deploy.yaml
secrets: inherit secrets: inherit
# Deze waarden komen uit het `env:`-blok bovenaan dit bestand, via de # Deze waarden komen uit het `env:`-blok bovenaan dit bestand, via de