Use rails instead of rake

This commit is contained in:
Tom Hughes 2022-08-25 20:23:51 +01:00
parent eedd1ec783
commit 5abccc2e5e

View file

@ -26,8 +26,8 @@ jobs:
sleep 15 # let the DB warm up a little
- name: Prepare Database
run: |
docker-compose run --rm web bundle exec rake db:migrate
docker-compose run web bundle exec rake i18n:js:export
docker-compose run --rm web bundle exec rails db:migrate
docker-compose run --rm web bundle exec rails i18n:js:export
docker-compose run --rm web osmosis --rx docker/null-island.osm.xml --wd host=db database=openstreetmap user=openstreetmap password=openstreetmap validateSchemaVersion=no
- name: Test Basic Website
run: |