renovate/.drone.yaml
Simon Cornet 7ad3148975
All checks were successful
continuous-integration/drone/push Build is passing
[Renovate] Remove test token and setup new token as env
2023-11-20 19:41:26 +01:00

39 lines
829 B
YAML

---
# renovate
name: 'renovate'
kind: 'pipeline'
type: 'kubernetes'
# renovate steps
steps:
# run renovate
- name: 'renovate'
image: 'registry.hub.docker.com/renovate/renovate'
when:
branch:
- 'master'
# run this command
commands:
- 'renovate'
# 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'
RENOVATE_GIT_URL: 'endpoint'
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@simoncor.net>'
RENOVATE_AUTODISCOVER: true