CI: protect '

This commit is contained in:
valere
2023-08-23 12:30:08 +02:00
parent 96569f2a12
commit b75c6c2d3f

View File

@@ -23,8 +23,8 @@ steps:
- su $USERNAME -c "rsync -av --exclude ./node_modules /drone/src/ $WORKDIR"
- cd $WORKDIR
- npm install
- [[ -f config.sh ]] && sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh
- [[ -f .env ]] && sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" .env
- '[[ -f config.sh ]] && sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh'
- '[[ -f .env ]] && sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" .env'
- bash /opt/pegaz/cli.pegaz.sh up $DRONE_REPO_NAME
volumes: