Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.64 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.64 KB

Docker Automated build Docker Automated build

A GitHub App built with Probot that A probot app that tries to compile npm assets and commit them

  • You can request a compilation and the bot will compile and try to add the requested path if it contains changes, this will create a new commit.
  • You can also request a fixup that will add a new fixup commit for the previous one (HEAD).
  • Finally, you can also request an amend commit and it will force push to your branch.

Commands

  • /compile /path/to/add Compile and create a new commit with the compiled files
  • /compile amend /path/to/add Compile and amend the previous commit with the compiled files
  • /compile fixup /path/to/add Compile and create a new fixup commit with the compiled files

Setup

  1. create a github app
  2. generate a webhook secret openssl rand -base64 32
  3. generate a private key
  4. replace the data by yours in the docker-compose.yml file
  5. replace the content of the fake private key private-key.pem by yours
  6. run the bot docker-compose up (-d to run in background)
  7. put your direct url access to your bot in your github app config

Contributing

If you have suggestions for how backport could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2019 John Molakvoæ [email protected]