1.3 KiB
1.3 KiB
gitea_CICD
1) Clone project to your server
git clone https://gitea.nswteam.net/joseph/gitea_CICD.git
2) Access the folder you just cloned
root@root#
cd gitea_CICD
3) Check the directory path
root@root#
pwd
- output: /gitea_CICD
4) Create folder service_run
root@root#
mkdir service_run
Copy environment file
cp service/giteaService.conf service_run/giteaService.conf
5) Fill in environment variables (*)
root@root#
nano service_run/giteaService.conf
6) Run file "install.sh" to install service
root@root#
```sh
./install.sh
```

** Note: **
-
Project gitea_CICD should be placed at the same folder level as your project
├── your_project └── gitea_CICD project -
Depending on the technology your project uses, the "gitea_CICD/service/giteaHook.sh" file will be custom configured to match the technology.