I setup an OpenCPU server (running in a container) and tried to deploy some R repos from GitHub using webhooks. That works nicely when repo is public, but when private I've got this response: Failed to read https://raw.githubusercontent.com/user/repo/master/DESCRIPTION. Repsitory does not contain a proper R package
.
That url must have a token
when private, but how to fix it on server?
Attempts:
- auth_token in the Payload URL: https://ocpu.domain.com/ocpu/webhook?sendmail=false&auth_token=xxxxxxxxxxxxxxxxxxxxxxx
- auth_token in /etc/opencpu/secret.conf
- GITHUB_PAT in .Renviron file
- SSH key
Cheers.