Add support for CleverCloud environment variables

This commit is contained in:
2019-03-03 14:05:50 +01:00
parent d3bac73679
commit 55c0ac150b
4 changed files with 22 additions and 7 deletions

4
post_build.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
[ -x ./bin/diesel ] || cargo install diesel_cli --no-default-features --features postgres --root .
./bin/diesel setup --database-url "$POSTGRESQL_ADDON_URI"