瀏覽代碼

Try fixing drone deploy step

Colin Powell 1 年之前
父節點
當前提交
fc2b09a3b6
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .drone.yml

+ 3 - 3
.drone.yml

@@ -32,10 +32,10 @@ steps:
         from_secret: ssh_key
         from_secret: ssh_key
       command_timeout: 2m
       command_timeout: 2m
       script:
       script:
-        - pip uninstall -y emus_web
+        - pip uninstall -y emus-web
         - pip install git+https://code.unbl.ink/secstate/emus.git@main
         - pip install git+https://code.unbl.ink/secstate/emus.git@main
-        - emus_web migrate
-        - emus_web collectstatic --noinput
+        - emus migrate
+        - emus collectstatic --noinput
         - immortalctl restart emus
         - immortalctl restart emus
     when:
     when:
       branch:
       branch: