gitlab-ci: another simpler attempt at reliable issuebot triggering

This commit is contained in:
Hans-Christoph Steiner 2020-12-10 16:38:23 +01:00
parent 765740dd92
commit 461c64d428
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -187,7 +187,9 @@ fdroid build:
# group, therefore needs the trigger without secrets, there would be
# no support for virustotal, github downloads, exodus privacy checks,
# etc. That means it has to be triggered from the lint: job, which
# runs in the fork's CI.
# runs in the fork's CI. The trigger-issuebot job adds the env var
# FROM_CI_MERGE_REQUEST_IID which is required to have this job be
# triggered.
#
# This job has to be called 'pages' because it deploys the JSON API
# to GitLab Pages.
@ -195,7 +197,7 @@ pages:
image: registry.gitlab.com/fdroid/ci-images-client:latest
only:
variables:
- $FROM_CI_MERGE_REQUEST_IID && $CI_PROJECT_PATH != "fdroid/fdroiddata" && $CI_COMMIT_BRANCH != "master"
- $FROM_CI_MERGE_REQUEST_IID
artifacts:
paths:
- metadata/