Maak DEPLOY_PATH configureerbaar via Gitea Actions variable i.p.v. hardcoded
Continuous Integration / config (pull_request) Successful in 10s
Continuous Integration / prepare (pull_request) Successful in 1m18s
Continuous Integration / build (pull_request) Successful in 1m55s
Continuous Integration / test (pull_request) Successful in 1m50s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / config (pull_request) Successful in 10s
Continuous Integration / prepare (pull_request) Successful in 1m18s
Continuous Integration / build (pull_request) Successful in 1m55s
Continuous Integration / test (pull_request) Successful in 1m50s
Continuous Integration / deploy-test (pull_request) Skipped
Vervangt het hardcoded testpad in continuous_integration.yaml door de Gitea repository variable DEPLOY_PATH_TEST, zodat het uploadpad aan te passen is zonder de workflow zelf te wijzigen. Documentatie bijgewerkt met de vereiste eenmalige Gitea-variable-setup. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,11 @@ env:
|
||||
ARTIFACT_NAME: dist
|
||||
ARTIFACT_PATH: dist/
|
||||
DEPLOY_ENVIRONMENT: test
|
||||
DEPLOY_PATH: /html/test/slpsoftware
|
||||
# Niet hardcoded: DEPLOY_PATH komt uit een Gitea Actions repository variable
|
||||
# (Repository → Settings → Actions → Variables), zodat het pad per omgeving
|
||||
# aangepast kan worden zonder de workflow zelf te wijzigen. Zie
|
||||
# deployment-instructions.md voor de eenmalige setup van deze variable.
|
||||
DEPLOY_PATH: ${{ vars.DEPLOY_PATH_TEST }}
|
||||
|
||||
jobs:
|
||||
# Geeft de env-variabelen hierboven door als job-outputs, zodat ze ook
|
||||
|
||||
Reference in New Issue
Block a user