Skip to content

Commit

Permalink
fix missing config file error
Browse files Browse the repository at this point in the history
  • Loading branch information
tibotiber committed Nov 15, 2019
1 parent 3bf32e0 commit 8951e87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:-./}'"
Expand Down

0 comments on commit 8951e87

Please sign in to comment.