Ajouter une clé Meilisearch factice au script de test
This commit is contained in:
4
test.sh
4
test.sh
@@ -18,4 +18,8 @@ detect_dev_host() {
|
|||||||
DEV_HOST="$(detect_dev_host)"
|
DEV_HOST="$(detect_dev_host)"
|
||||||
DEV_PORT=1313
|
DEV_PORT=1313
|
||||||
|
|
||||||
|
if [ -z "${MEILI_SEARCH_API_KEY+x}" ]; then
|
||||||
|
export MEILI_SEARCH_API_KEY="dummy"
|
||||||
|
fi
|
||||||
|
|
||||||
hugo server -DEF --bind "$DEV_HOST" --port $DEV_PORT --baseURL "http://$DEV_HOST:$DEV_PORT"
|
hugo server -DEF --bind "$DEV_HOST" --port $DEV_PORT --baseURL "http://$DEV_HOST:$DEV_PORT"
|
||||||
Reference in New Issue
Block a user