Repos / pytaku / c0cd930901
commit c0cd930901bd6527b7703559de7cf418d3cb5688
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Sun Aug 9 22:49:34 2020 +0700

    run migrations when deploying too

diff --git a/.builds/ubuntu.yml b/.builds/ubuntu.yml
index ffe00d3..e698abf 100644
--- a/.builds/ubuntu.yml
+++ b/.builds/ubuntu.yml
@@ -64,6 +64,8 @@ tasks:
       # Install & restart serivces
       ssh -i ~/.ssh/2d6e3246-5adc-41c2-bebe-01dacda9d0c8 pytaku@dev.pytaku.com "
         ~/.local/bin/pip install --user pytaku*.whl
+        cd ~/pytaku
+        pytaku-migrate
         systemctl --user daemon-reload
         systemctl --user restart pytaku
         systemctl --user restart pytaku-scheduler
diff --git a/pyproject.toml b/pyproject.toml
index 2187bf6..990b9a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytaku"
-version = "0.2.13"
+version = "0.2.14"
 description = ""
 authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
 license = "AGPL-3.0-only"