Drone plugins > Github App
A plugin to get a jwt or installation token for a github app.
Example
kind: pipeline
name: default
steps:
- name: run rssnyder/drone-github-app plugin
image: rssnyder/drone-github-app
pull: if-not-exists
settings:
APP_ID: "264043"
INSTALLATION: "31437931"
PEM_B64:
from_secret: github_app_b64
JSON_FILE: output.json
Properties
app_id
stringrequiredgithub app id
Default: none
pem
stringoptionalrsa private key
Secret recommendedDefault: none
pem_file
stringoptionallocal file path of rsa private key
Secret recommendedDefault: none
pem_b64
stringoptionallocal file path of base64 encoded rsa private key
Secret recommendedDefault: none
installation
stringoptionalinstallation id
Default: none
jwt_file
stringoptionaloutput file for jwt
Default: none
token_file
stringoptionaloutput file for token
Default: none
json_file
stringoptionaloutput file for both jwt and token in json
Default: none