Skip to content

Commit 68e72c8

Browse files
Use release script when deploying with containers (#1002)
1 parent d26352e commit 68e72c8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bin/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

3-
bundle exec rails db:migrate
4-
bundle exec rails feature_flags:initialize
3+
echo "Running release script" &&
4+
bundle exec rails feature_flags:initialize

heroku.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ run:
1111
command:
1212
- bundle exec rails jobs:work
1313
image: web
14+
release:
15+
image: web
16+
command:
17+
- ./bin/release.sh

0 commit comments

Comments
 (0)