FIX: redirections
This commit is contained in:
@@ -21,7 +21,6 @@ steps:
|
|||||||
- rsync -av --exclude ./node_modules /drone/src/ $WORKDIR
|
- rsync -av --exclude ./node_modules /drone/src/ $WORKDIR
|
||||||
- cd $WORKDIR
|
- cd $WORKDIR
|
||||||
- sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh
|
- sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh
|
||||||
- sed -i "s|getpegaz.domain.com|get.$CI_DOMAIN|g" config.sh
|
|
||||||
- bash /opt/pegaz/cli.pegaz.sh build pegazdev &2> /dev/null
|
- bash /opt/pegaz/cli.pegaz.sh build pegazdev &2> /dev/null
|
||||||
- bash /opt/pegaz/cli.pegaz.sh up pegazdev
|
- bash /opt/pegaz/cli.pegaz.sh up pegazdev
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export DOMAIN="pegaz.domain.com"
|
export DOMAIN="pegaz.domain.com"
|
||||||
export PORT="7755"
|
export PORT="7755"
|
||||||
export REDIRECTIONS="getpegaz.domain.com->https://raw.githubusercontent.com/valerebron/pegaz/master/get.pegaz.sh"
|
export REDIRECTIONS="get->https://raw.githubusercontent.com/valerebron/pegaz/master/get.pegaz.sh"
|
||||||
|
Reference in New Issue
Block a user