mirror of https://github.com/statping/statping
parent
75c39124dc
commit
4ff0ee5a0d
|
@ -18,7 +18,7 @@ services:
|
|||
|
||||
env:
|
||||
global:
|
||||
- VERSION=0.27.3
|
||||
- VERSION=0.27.4
|
||||
- DB_HOST=localhost
|
||||
- DB_USER=travis
|
||||
- DB_PASS=
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM alpine:latest
|
||||
|
||||
ENV VERSION=v0.27.3
|
||||
ENV VERSION=v0.27.4
|
||||
|
||||
RUN apk --no-cache add libstdc++ ca-certificates
|
||||
RUN wget -q https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-alpine.tar.gz && \
|
||||
|
|
|
@ -31,10 +31,10 @@ func MakePublicFolder(folder string) {
|
|||
}
|
||||
|
||||
func CompileSASS() {
|
||||
cmdBin := os.Getenv("SASS")
|
||||
shell := os.Getenv("BASH_ENV")
|
||||
sassBin := os.Getenv("SASS")
|
||||
shell := os.Getenv("CMD_FILE")
|
||||
log.Send(1, fmt.Sprintf("Compiling SASS into /css/base.css..."))
|
||||
command := fmt.Sprintf("%v %v %v", cmdBin, "assets/scss/base.scss", "assets/css/base.css")
|
||||
command := fmt.Sprintf("%v %v %v", sassBin, "assets/scss/base.scss", "assets/css/base.css")
|
||||
testCmd := exec.Command(shell, command)
|
||||
_, err := testCmd.Output()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue