Explorar o código

add CICD restart step

jerryliao hai 1 ano
pai
achega
523f72873f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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: