Home

tmpl @main - refs - log -
-
https://git.jolheiser.com/tmpl.git
Template automation
tree log patch
Fix CI (#8) Update '.drone.yml' Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/8 Co-Authored-By: John Olheiser <john.olheiser@gmail.com> Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
John Olheiser <john.olheiser@gmail.com>
4 years ago
1 changed files, 8 additions(+), 5 deletions(-)
M .drone.yml -> .drone.yml
diff --git a/.drone.yml b/.drone.yml
index a72e60644a43357d40f258edc8c540d9faf247cc..7849981d561e35f030da1e39e4b0915a8142100a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -96,9 +96,12 @@   os: linux
   arch: amd64
 
 trigger:
-  event:
+  ref:
+    include:
+    - refs/tags/*
+platform:
 
-  os: linux
+    - refs/tags/latest
 
 steps:
   - name: build
@@ -120,14 +123,14 @@     commands:
       - make build
   - name: gitea-release
     pull: always
-name: compliance
+platform:
   os: linux
     environment:
       GOPROXY: https://goproxy.cn
     settings:
-      token:
+      api_key:
         from_secret: gitea_token
-      base: https://gitea.com
+      base_url: https://gitea.com
       files:
         - "tmpl"
         - "tmpl.exe"