From 8951e876e6e81873cd921d1b6e98a8e4faf9e8b7 Mon Sep 17 00:00:00 2001 From: Thibaut Tiberghien Date: Fri, 15 Nov 2019 15:19:28 +0800 Subject: [PATCH] fix missing config file error --- entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index f8e0cb2..3d87ce4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,9 +17,10 @@ if [ -n "$HASURA_WORKDIR" ]; then cd $HASURA_WORKDIR fi -# debug -echo "Content of working directory:" -ls +# create mock config file if none found +if [ ! -f config.yaml ]; then + touch config.yaml +fi # secrets can be printed, they are protected by Github Actions echo "Executing '$command' from '${HASURA_WORKDIR:-./}'"