commit 0ea5fc6730a701023adfe19833e6491a8b2609d6
parent f055118284d91cd85ccf0b52d8bfc5717e0ca800
Author: Vetle Haflan <vetle@haflan.dev>
Date: Mon, 20 Apr 2020 23:17:28 +0200
Run generate.sh in CI
Should have been run by the ad-hoc webpack plugin, but guess that
doesn't work as intended
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -8,6 +8,7 @@ COPY . $GOPATH/src/sermoni/
WORKDIR $GOPATH/src/sermoni/ui/
RUN npm install; \
npm run build; \
+ $GOPATH/src/sermoni/ui/generate.sh ; \
mv $GOPATH/src/sermoni/ui/dist/html.go $GOPATH/src/sermoni/internal/http/
# Build the sermoni binary
WORKDIR $GOPATH/src/sermoni/