Procházet zdrojové kódy

add CICD restart step

jerryliao před 1 rokem
rodič
revize
523f72873f
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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: