Skip to content

Commit

Permalink
moving buildpack to script
Browse files Browse the repository at this point in the history
  • Loading branch information
andymeneely committed Oct 11, 2024
1 parent 464fd02 commit 2a1daf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
"DISABLE_DATABASE_ENVIRONMENT_CHECK": {
"required": true,
"value": "1"
},
"BUILDPACK_RUN": {
"required": true,
"value": "bundle exec rails db:schema:load data:all"
}
},
"formation": {},
Expand Down
7 changes: 7 additions & 0 deletions buildpack-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# For Heroku deployment in production

echo "BUILDPACK RUN"

bundle exec rails db:schema:load data:all

0 comments on commit 2a1daf2

Please sign in to comment.