Browse Source

add CICD restart step

jerryliao 1 year ago
parent
commit
523f72873f
1 changed files with 3 additions and 0 deletions
  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: