diff --git a/.drone.yaml b/.drone.yaml index f51be70..47f63f0 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -22,9 +22,14 @@ steps: # environment variables environment: + + # renovate -> github + GITHUB_ACCESS_TOKEN: + from_secret: 'github_access_token' + + # renovate -> gitea RENOVATE_TOKEN: from_secret: 'renovate_token' - RENOVATE_USERNAME: 'renovate' RENOVATE_PLATFORM: 'gitea' RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1' diff --git a/default.json b/default.json index 7c78662..860843e 100644 --- a/default.json +++ b/default.json @@ -9,7 +9,7 @@ "hostRules": [ { "matchHost": "github.com", - "token": "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" + "token": "${GITHUB_ACCESS_TOKEN}" } ] }