[Renovate] Remove test token and setup new token as env
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Cornet 2023-11-20 19:41:26 +01:00
parent d6dbb81f87
commit 7ad3148975
2 changed files with 7 additions and 2 deletions

View File

@ -22,9 +22,14 @@ steps:
# environment variables # environment variables
environment: environment:
# renovate -> github
GITHUB_ACCESS_TOKEN:
from_secret: 'github_access_token'
# renovate -> gitea
RENOVATE_TOKEN: RENOVATE_TOKEN:
from_secret: 'renovate_token' from_secret: 'renovate_token'
RENOVATE_USERNAME: 'renovate' RENOVATE_USERNAME: 'renovate'
RENOVATE_PLATFORM: 'gitea' RENOVATE_PLATFORM: 'gitea'
RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1' RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1'

View File

@ -9,7 +9,7 @@
"hostRules": [ "hostRules": [
{ {
"matchHost": "github.com", "matchHost": "github.com",
"token": "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" "token": "${GITHUB_ACCESS_TOKEN}"
} }
] ]
} }