mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
fix drone.yml build
This commit is contained in:
parent
1ef37f91b2
commit
8f7a65bebb
14
.drone.yml
14
.drone.yml
@ -1,14 +1,4 @@
|
|||||||
---
|
---
|
||||||
name: testing
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: test
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- echo test
|
|
||||||
---
|
|
||||||
name: jfa-go-git
|
name: jfa-go-git
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@ -21,6 +11,6 @@ steps:
|
|||||||
- apt install build-essential python3-pip curl software-properties-common sed upx -y
|
- apt install build-essential python3-pip curl software-properties-common sed upx -y
|
||||||
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
||||||
- apt install nodejs
|
- apt install nodejs
|
||||||
- (cd /opt/build; make headless compress)
|
- make headless compress
|
||||||
- sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' /opt/build/build/data/templates/setup.html
|
- sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' build/data/templates/setup.html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user