cicd: add ci workflow

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/561/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent bc9b947d19
commit fa089908bd
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -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

Loading…
Cancel
Save