$ export HEROKU_APP=zundan-mastodon
$ export DATABASE_URL=`heroku config:get DATABASE_URL`
$ export OTP_SECRET=`heroku config:get OTP_SECRET`
$ export SECRET_KEY_BASE=`heroku config:get SECRET_KEY_BASE`
$ export RAILS_ENV=production
$ bundle install --with production
$ bundle exec rake db:remove_dup_tags
$ heroku pg:psql
> CREATE UNIQUE INDEX CONCURRENTLY index_tags_on_name ON tags (name);
> DROP INDEX index_tags_on_name_lower;
$ heroku pipelines:promote -a zundan-mastodon-staging
ここまではうまくいってたのにな。