1
0
Fork 0

Use GitLab CI URL from predefined environment variables

GitLab provides the API URL as a predefined enviornment variables for
each CI job. Therefore adding it to the config and using it there seems
very useful. It should also improve the protability of the repository.
This commit is contained in:
Sheogorath 2020-03-22 00:59:08 +01:00
parent 05c2672224
commit 340bd4765f
No known key found for this signature in database
GPG key ID: C9B1C80737B9CE18

View file

@ -1,6 +1,6 @@
module.exports = {
platform: 'gitlab',
endpoint: 'https://git.shivering-isles.com/api/v4/',
endpoint: process.env.CI_API_V4_URL || 'https://git.shivering-isles.com/api/v4/',
token: process.env.RENOVATE_TOKEN,
autodiscover: true,
gitAuthor: 'Renovate Bot <renovate-bot@sheogorath.shivering-isles.com>',