diff --git a/Dockerfile b/Dockerfile index 44537c6..37525e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN HUSKY=0 npm ci --omit=dev && npm cache clean --force COPY . ./ +# https://probot.github.io/docs/configuration/ ENV NODE_ENV="production" RUN npm run build diff --git a/README.md b/README.md index 2897524..358078a 100644 --- a/README.md +++ b/README.md @@ -81,23 +81,15 @@ docker run --env-file .env deploynaut ## Environment Variables +Probot configuration variables are documented [here](https://probot.github.io/docs/configuration/). + +Additional environment variables specific to this app: + - `BYPASS_ACTORS`: A comma-separated list of GitHub user IDs to bypass the approval process. For users, you can find the ID by visiting `https://api.github.com/users/` For apps, you can find the ID by visiting `https://api.github.com/users/%5Bbot%5D` - ```shell - # https://api.github.com/users/flowzone-app%5Bbot%5D - # https://api.github.com/users/balena-renovate%5Bbot%5D - BYPASS_ACTORS=124931076,133977723 - ``` - -- `APP_ID`: The ID of the GitHub App. -- `PRIVATE_KEY`: The private key of the GitHub App. -- `WEBHOOK_SECRET`: The secret used to verify the authenticity of the webhook. -- `WEBHOOK_PROXY_URL`: The URL to proxy the webhook to. -- `LOG_LEVEL`: Defaults to `info`. - ## Contributing If you have suggestions for how deploynaut could be improved, or want to report a bug, open an issue! We'd love all and any contributions.