cicd: add ci workflow

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim) 2023-07-15 15:53:23 +08:00
parent bc9b947d19
commit fa089908bd
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

View File

@ -44,10 +44,10 @@ echo -e "===> ${PURPLE_PREFIX} you api url is:$API_URL ${COLOR_SUFFIX}"
echo ""
# Specify the config file
config_file='../config/config.yaml'
config_file=${OPENIM_ROOT}/config/config.yaml
# Load variables from .env file
source ../.env
source ${OPENIM_ROOT}/.env
# Replace the password and username field for mysql
sed -i "/mysql:/,/database:/ s/password:.*/password: $PASSWORD/" $config_file