CI: protect '
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user