Skip to content

Commit

Permalink
Migration: add post_run
Browse files Browse the repository at this point in the history
  • Loading branch information
skelz0r committed May 22, 2024
1 parent 7258f30 commit e27cb4e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/migration/post_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

## TODO TO CHANGE
RAILS_ENV=production
## END TODO

export RAILS_ENV

sudo rm /var/www/html/maintenance_datapass_$RAILS_ENV.html
sudo service nginx reload

0 comments on commit e27cb4e

Please sign in to comment.