Ensure Gitpod init always succeeds (#2379)
This commit is contained in:
parent
f0d2dfff84
commit
a4484021e8
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ ports:
|
|||
tasks:
|
||||
- init: >
|
||||
cp config/sample_application.yml config/application.yml &&
|
||||
bin/setup 2>/dev/null
|
||||
bin/setup 2>/dev/null || true
|
||||
command: >
|
||||
while [ -z "${ALGOLIASEARCH_APPLICATION_ID:=$(cat config/application.yml | grep ALGOLIASEARCH_APPLICATION_ID | sed 's/.*:\s*//')}" ] ||
|
||||
[ -z "${ALGOLIASEARCH_SEARCH_ONLY_KEY:=$(cat config/application.yml | grep ALGOLIASEARCH_SEARCH_ONLY_KEY | sed 's/.*:\s*//')}" ] ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue