Skip to content
Permalink
Browse files

db:migrateとtootctl cache clearを追加

  • Loading branch information...
eai04191 committed Jun 13, 2019
1 parent 48126a0 commit 7368f346d7c745c2515bde43c2d67206b91574c1
Showing with 2 additions and 3 deletions.
  1. +2 −3 update.sh
@@ -6,9 +6,8 @@ echo "[${COMMITHASH}] 📢 Enrichment Center より最新版のアップデー
git pull
echo "[${COMMITHASH}] 🗜️ データの取得が完了しました。ビルドを開始します。" | toot --visibility unlisted
docker-compose build
# docker-compose run --rm web rails db:migrate
# echo "[${COMMITHASH}] ぷりこんぱいる?" | toot --visibility unlisted
# docker-compose run --rm web rails assets:precompile
docker-compose run --rm web rails db:migrate
docker-compose run --rm web bin/tootctl cache clear
echo "[${COMMITHASH}] 🔜 デプロイを開始します。利用可能になるまで、あと、3 秒... 2 秒... 1 秒..." | toot --visibility unlisted
docker-compose up -d

0 comments on commit 7368f34

Please sign in to comment.
You can’t perform that action at this time.