# Warning: (*) are required variables to be declared # The variable is automatically filled in by the system HOOK_PATH=/home/gitea_CICD NODE_BIN=/path/to/node NPM_BIN=/path/to/npm # Git account (*) GIT_USERNAME= GIT_PASSWORD= GIT_REPOSITORY= # Example: https://gitea.nswteam.net/username/repo_name.git GIT_BRANCH= # Port of server (*) PORT_SERVICE=5000 # Email: Used to send notifications when the repository has updates (*) # Enable/Disable send mail: True or False (*) SEND_EMAIL=False RECEIVE_EMAIL_ADDRESS= EMAIL_FROM= EMAIL_HOST= EMAIL_PORT= EMAIL_SECURE=True EMAIL_USER= EMAIL_PASSWORD= # URL of project directory (*) # Example: /home/My_project/ PROJECT_PATH= # # It is possible to add many other directory besides the front-end directory # # Syntax: # URL : _PROCESS_PATH= # Execution command: _PROCESS_PATH_COMMAND= && ... # # Example: # URL of FE directory(*) #FE_PROCESS_PATH=/home/My_project/FE_directory #FE_PROCESS_PATH_COMMAND=npm install -f && npm run build && cp -rf /home/My_project/FE_directory/build/* /var/www/html # URL of back-end directory(*) #BE_PROCESS_PATH=/home/My_project/BE_directory #BE_PROCESS_PATH_COMMAND=npm install && echo "\n" && echo "BACK_END" # URL of other directory(*) #OTHER_PROCESS_PATH=/home/My_project/Other_directory #OTHER_PROCESS_PATH_PROCESS_PATH_COMMAND= command 1 && command 2