1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-07-01 05:47:46 +02:00
jfa-go/.drone.yml

27 lines
634 B
YAML
Raw Normal View History

2020-09-30 00:28:14 +02:00
---
2020-09-30 00:22:29 +02:00
name: testing
2020-09-30 00:10:07 +02:00
kind: pipeline
type: docker
steps:
2020-09-30 00:22:29 +02:00
- name: test
image: alpine
commands:
- echo test
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
- (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