From 9e739e79e72b41734b2a09071c8b736a4a40339d Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Tue, 29 Sep 2020 23:10:07 +0100 Subject: [PATCH] initial drone ci setup --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c23637d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,15 @@ +name: jfa-go-git +kind: pipeline +type: docker + +steps: + - name: build + image: golang:latest + commands: + - apt update -y + - apt install build-essential python3-pip curl software-properties-common sed upx -y + - (curl -sL https://deb.nodesource.com/setup_14.x | bash -) + - apt install nodejs + - (cd /opt/build; make headless compress) + - sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' /opt/build/build/data/templates/setup.html +