summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-12-08 17:24:17 -0500
committerGitHub <noreply@github.com>2019-12-08 17:24:17 -0500
commitc34fdf7e33de3a31247e54910e2fb6e81aef4fd8 (patch)
tree8c0a8a60e4ea7292497b239b3422d6c8ba114d77 /.drone.yml
parentbaae90e163d78016129489c5123c50b28adeec90 (diff)
downloadgitea-c34fdf7e33de3a31247e54910e2fb6e81aef4fd8.tar.gz
gitea-c34fdf7e33de3a31247e54910e2fb6e81aef4fd8.zip
prebuild CSS/JS before xgo release binaries (#9293)
* prebuild CSS/JS before xgo release binaries * Update .drone.yml * Update Makefile * update per @lafriks feedback
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index 95811c0224..b44bcb8725 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -388,6 +388,13 @@ steps:
commands:
- git fetch --tags --force
+ - name: build
+ pull: always
+ image: node:10 # this step is kept at the lowest version of node that we support
+ commands:
+ - make css
+ - make js
+
- name: static
pull: always
image: techknowlogick/xgo:latest
@@ -489,6 +496,13 @@ steps:
commands:
- git fetch --tags --force
+ - name: build
+ pull: always
+ image: node:10 # this step is kept at the lowest version of node that we support
+ commands:
+ - make css
+ - make js
+
- name: static
pull: always
image: techknowlogick/xgo:latest
@@ -647,8 +661,6 @@ steps:
exclude:
- pull_request
-
-
---
kind: pipeline
name: docker-linux-arm64
@@ -754,6 +766,9 @@ workspace:
base: /go
path: src/code.gitea.io/gitea
+clone:
+ disable: true
+
when:
status:
- success