From 02d203daf47e2ede76c3eb26e1f6112f9402b11b Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 10 May 2020 17:11:37 -0300 Subject: [PATCH] chore(ci): make site Signed-off-by: Carlos Alexandro Becker --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f21f80976..423fc8ffa 100644 --- a/Makefile +++ b/Makefile @@ -48,12 +48,18 @@ build: .PHONY: build imgs: + wget -O docs/static/logo.png https://github.com/goreleaser/artwork/raw/master/goreleaserfundo.png wget -O docs/static/card.png "https://og.caarlos0.dev/**GoReleaser**%20%7C%20Deliver%20Go%20binaries%20as%20fast%20and%20easily%20as%20possible.png?theme=light&md=1&fontSize=80px&images=https://github.com/goreleaser.png" wget -O docs/static/avatar.png https://github.com/goreleaser.png convert docs/static/avatar.png -define icon:auto-resize=64,48,32,16 docs/static/favicon.ico convert docs/static/avatar.png -resize x120 docs/static/apple-touch-icon.png .PHONY: imgs +site: imgs + pip install mkdocs-material + mkdocs build +.PHONY: site + serve: imgs @docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material .PHONY: serve