ソースを参照

add CICD restart step

jerryliao 1 年間 前
コミット
523f72873f
1 ファイル変更3 行追加0 行削除
  1. 3 0
      .drone.yml

+ 3 - 0
.drone.yml

@@ -18,6 +18,9 @@ steps:
 
       - echo "<link rel="stylesheet" href="/css/themes/codemirror-material.css" />" >> /home/gogs/gogs/custom/templates/inject/head.tmpl
 
+  - name: restart
+    commands:
+      - docker container restart gogs
   
 trigger:
     branch: