Go to file
2026-02-24 19:14:39 +03:00
.cursor/rules - 2026-01-30 17:30:42 +03:00
components style: misc 2026-02-24 17:31:38 +03:00
pages - 2026-01-30 17:30:42 +03:00
.gitignore - 2026-01-30 17:30:42 +03:00
bun.lock - 2026-01-30 17:30:42 +03:00
db.ts - 2026-01-30 17:30:42 +03:00
deploy-service.sh fix: fixed build script 2026-02-24 18:09:44 +03:00
index.ts feat: added post pull steps to admin 2026-02-24 18:19:59 +03:00
package.json fix: fixed build script 2026-02-24 18:09:44 +03:00
README.md - 2026-01-30 17:30:42 +03:00
tsconfig.json - 2026-01-30 17:30:42 +03:00
utils.ts - 2026-01-30 17:30:42 +03:00
yimaru-cd.service fix: privilege setting in service file 2026-02-24 19:14:39 +03:00

yimaru-cicd

Gitea webhook CD server for:

  • Yimaru admin repository (git pull)
  • Yimaru backend repository (git pull)

Setup

Install dependencies:

bun install

Create a .env with at least:

PORT=3000
PRODUCTION_BRANCH=main
GITEA_WEBHOOK_SECRET=...
GITEA_WEBHOOK_AUTH_HEADER=...
GITEA_USERNAME=...
GITEA_PASSWORD=...

YIMARU_ADMIN_PATH=/srv/apps/yimaru_admin
YIMARU_BACKEND_PATH=/srv/apps/Yimaru-BackEnd

Run locally:

bun run index.ts

This project was created using bun init in bun v1.3.2. Bun is a fast all-in-one JavaScript runtime.