File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,13 +82,34 @@ steps:
8282 environment :
8383 GOPROXY : https://proxy.golang.org
8484
85- - name : coverage
86- image : plugins/codecov
87- settings :
88- files :
89- - coverage.out
90- token :
91- from_secret : codecov_token
85+ # - name: coverage
86+ # image: plugins/codecov
87+ # settings:
88+ # files:
89+ # - coverage.out
90+ # token:
91+ # from_secret: codecov_token
92+
93+ - name : embed_files
94+ pull : default
95+ image : golang
96+ commands :
97+ - cd /tmp
98+ - wget -qO- https://github.com/infomark-org/infomark-ui/releases/download/0.0.4/infomark-ui.tar.gz | tar -xvz
99+ - cd /drone/src
100+ - cp -r /tmp/build/* /drone/src/infomark/static
101+ - ls /drone/src/
102+ - ls /drone/src/infomark
103+ - ls /drone/src/infomark/static
104+ - cp -r ./build/* $${WORK_DIR}/infomark/static
105+ - pkger list
106+ - pkger
107+ - ls -lart
108+ - rm infomark-backend
109+ - go build
110+ - ls -lart
111+ environment :
112+ GOPROXY : https://proxy.golang.org
92113
93114- name : docs
94115 pull : default
@@ -103,15 +124,15 @@ steps:
103124 pull : default
104125 image : patwie/tar
105126 commands :
106- - tar -czvf infomark-backend .tar.gz api.yaml infomark README.md LICENSE files/uploads/ files/generated_files/ files/common/
127+ - tar -czvf infomark.tar.gz api.yaml infomark README.md LICENSE files/uploads/ files/generated_files/ files/common/
107128
108129- name : publish_release
109130 image : plugins/github-release
110131 settings :
111132 api_key :
112133 from_secret : github_token
113134 files :
114- - infomark-backend .tar.gz
135+ - infomark.tar.gz
115136 checksum :
116137 - md5
117138 - sha256
@@ -142,6 +163,6 @@ services:
142163
143164---
144165kind : signature
145- hmac : 89b2e92205fce2bb691338c5ee8203bd60333cd185bda02221b48a2ceb5bd671
166+ hmac : 5afb68c82e9ba3ab1c0554663d2b45c3149de4ca86f94a128ef84a2248d7aeb1
146167
147168...
You can’t perform that action at this time.
0 commit comments