#!/bin/bash
set -euo pipefail

bundle exec rake maxminddb:get db:migrate assets:precompile s3:upload_assets

./refresh-assets $(find ./public/assets -type f -name '.sprockets-manifest-*') $(find ./public/assets -type f -name 'service-worker-*.js')
