Trying to get Render to run the migrations
This commit is contained in:
@@ -9,6 +9,4 @@ echo "${*}"
|
|||||||
# ./bin/rails db:prepare
|
# ./bin/rails db:prepare
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
if [ -z "$RENDER" ]; then echo "var is unset"; else bin/rails db:migrate; fi
|
|
||||||
|
|
||||||
exec "${@}"
|
exec "${@}"
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ services:
|
|||||||
region: oregon
|
region: oregon
|
||||||
branch: main
|
branch: main
|
||||||
plan: free
|
plan: free
|
||||||
# dockerCommand: "bundle exec puma -C config/puma.rb"
|
dockerCommand: "bundle exec puma -C config/puma.rb"
|
||||||
numInstances: 1
|
numInstances: 1
|
||||||
healthCheckPath: /up
|
healthCheckPath: /up
|
||||||
envVars:
|
envVars:
|
||||||
|
|||||||
Reference in New Issue
Block a user