refactor fe.sh

This commit is contained in:
Ulric Qin 2023-06-02 12:11:35 +08:00
parent 4099c467bb
commit 2de6847323
1 changed files with 2 additions and 0 deletions

2
fe.sh
View File

@ -16,6 +16,8 @@ if [ ! -d "./pub" ]; then
fi
fi
GOPATH=$(go env GOPATH)
GOPATH=${GOPATH:-/home/runner/go}
# Embed files into a go binary
if ! $GOPATH/bin/statik -src=./pub -dest=./front; then