Repos / pytaku / 02de0c169a
commit 02de0c169a8511e151d530730ca88e49bfccb408
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Mon Aug 24 19:30:43 2020 +0700

    make sure to deploy new static assets
    
    Not the cleanest but hey it works for now.

diff --git a/.builds/ubuntu.yml b/.builds/ubuntu.yml
index effecf0..0d4c98c 100644
--- a/.builds/ubuntu.yml
+++ b/.builds/ubuntu.yml
@@ -79,6 +79,8 @@ tasks:
         ~/.local/bin/pip install --user pytaku*.whl &&
         cd ~/pytaku &&
         ~/.local/bin/pytaku-migrate &&
+        rm -r static &&
+        cp -r ~/.local/lib/python3.7/site-packages/pytaku/static ./ &&
         systemctl --user daemon-reload &&
         systemctl --user restart pytaku &&
         systemctl --user restart pytaku-scheduler &&