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:
parent
05c2672224
commit
340bd4765f
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
platform: 'gitlab',
|
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,
|
token: process.env.RENOVATE_TOKEN,
|
||||||
autodiscover: true,
|
autodiscover: true,
|
||||||
gitAuthor: 'Renovate Bot <renovate-bot@sheogorath.shivering-isles.com>',
|
gitAuthor: 'Renovate Bot <renovate-bot@sheogorath.shivering-isles.com>',
|
||||||
|
|
Reference in a new issue