CI: ASF-deploy haalt pad/service/health rechtstreeks uit Gitea-variabelen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -636,6 +636,8 @@ jobs:
|
||||
path: app-asf-test
|
||||
retention-days: 1
|
||||
|
||||
# Path/service/health straight from the Gitea variables, like deploy-test (a job output containing a secret value,
|
||||
# here the deploy account name in the path, arrives empty). config-asf still validates that they are set.
|
||||
deploy-asf-test:
|
||||
needs: [publish-asf-test, config-asf]
|
||||
if: vars.ASF_TEST_DEPLOY_ENABLED == 'true' && ((github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_asf_test == 'true') || (github.event_name == 'push' && github.ref == 'refs/heads/master'))
|
||||
@@ -644,7 +646,7 @@ jobs:
|
||||
with:
|
||||
artifact_name: app-asf-test
|
||||
environment: test
|
||||
deploy_path: ${{ needs.config-asf.outputs.deploy_path }}
|
||||
service_name: ${{ needs.config-asf.outputs.service_name }}
|
||||
health_check_url: ${{ needs.config-asf.outputs.health_check_url }}
|
||||
deploy_path: ${{ vars.DEPLOY_PATH_ASF_TEST }}
|
||||
service_name: ${{ vars.SERVICE_NAME_ASF_TEST }}
|
||||
health_check_url: ${{ vars.HEALTH_CHECK_URL_ASF_TEST }}
|
||||
run_db_backup: false
|
||||
|
||||
Reference in New Issue
Block a user