Rhodecode packagist webhook middleware
Middleware which passes rhodecode repository webhook to packagist for auto packagist update on push event in repository.
Check https://github.com/darneta/rpwm-dockerized
Tested on:
- Rhodecode 4.6.x
- Packagist master
Might work on older/newer versions too.
- npm
- nodejs
PACKAGIST_USER
- packagist username
PACKAGIST_TOKEN
- packagist API Token
WEBHOOK_TOKEN
- Rhodecode webhook "Secret Token"
PACKAGIST_URL
- default "https://packagist.org"
APP_PORT
- default 80
npm install && npm cache clean --force
PACKAGIST_USER=someuser PACKAGIST_TOKEN=secrettoken WEBHOOK_TOKEN=rhodecodesecretoken nodejs script.js