- Notifications
You must be signed in to change notification settings - Fork0
jadeocr/ci-server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple continuous integration server for automatically deployingjadeocr-next
This is a simple server that buildsjadeocr-next inDocker upon pushes to the jadeocr-nextrepository.
Using GitHub webhooks on the jadeocr-next repository, this server triggersshell commands to fetch the changes from GitHub, rebuild the docker-composeimages, and start the new containers.
- Get a secrettokenfrom 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