deploy: copy config-local before launching build_static
This commit is contained in:
parent
8367359c35
commit
e34ea03ae3
@ -30,10 +30,11 @@ if [ ! -d node_modules ]; then
|
|||||||
npm i
|
npm i
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$PHP build_static.php
|
|
||||||
|
|
||||||
cp "$DEV_DIR/config-local.php" .
|
cp "$DEV_DIR/config-local.php" .
|
||||||
sed -i '/is_dev/d' ./config-local.php
|
sed -i '/is_dev/d' ./config-local.php
|
||||||
|
|
||||||
|
$PHP build_static.php
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# copy staging to prod
|
# copy staging to prod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user