jadeocr / ci-server

Custom CI/CD server for jadeocr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci-server

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.

Usage

  1. Get a secret token from GitHub.
  2. Then, using the value of that token as an environment variable, run yarn start
  3. Send a POST request with body token: MY_TOKEN_VALUE to http://my_server_ip:4000/github

About

Custom CI/CD server for jadeocr


Languages

Language:JavaScript 91.6%Language:Shell 8.4%