Simple continuous integration server for automatically deploying jadeocr-next
This is a simple server that builds jadeocr-next in Docker upon pushes to the jadeocr-next repository.
Using GitHub webhooks on the jadeocr-next repository, this server triggers shell commands to fetch the changes from GitHub, rebuild the docker-compose images, and start the new containers.
- Get a secret token from GitHub.
- Then, using the value of that token as an environment variable, run
yarn start
- Send a POST request with body
token: MY_TOKEN_VALUE
tohttp://my_server_ip:4000/github