diff --git a/.drone.yml b/.drone.yml index 9e6e104..442a756 100644 --- a/.drone.yml +++ b/.drone.yml @@ -97,6 +97,8 @@ steps: - go vet # wait until the site is output into './public'. - hugo-extended + environment: + GOFLAGS: -trimpath -mod=readonly -modcacherw commands: - go build -v -ldflags "-s -w -X main.Version=${DRONE_COMMIT}" .