mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
Add sleep to allow migrations to run
This commit is contained in:
parent
202e194a84
commit
07aa136e61
1
.github/workflows/reset_heroku.yml
vendored
1
.github/workflows/reset_heroku.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
- name: Reset Postgres
|
||||
run: |
|
||||
heroku pg:reset DATABASE --app unleash --confirm unleash
|
||||
sleep 10
|
||||
heroku pg:psql DATABASE --app unleash <<EOF
|
||||
INSERT INTO settings(name, content) VALUES ('license', '{"token": "${{ secrets.TEST_LICENSE }}"}') ON CONFLICT (name) DO UPDATE SET content = EXCLUDED.content;
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user