Skip to content

Commit

Permalink
initial drone ci setup
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Sep 29, 2020
1 parent 2a2435a commit 9e739e7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9e739e7

Please sign in to comment.