jfa-go/.drone.yml

17 lines
493 B
YAML
Raw Normal View History

2020-09-30 00:28:14 +02:00
---
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
2020-09-30 00:41:15 +02:00
- make headless compress
- sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' build/data/templates/setup.html
2020-09-30 00:28:14 +02:00