mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
chore(ci): make site
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
90549df4d8
commit
02d203daf4
6
Makefile
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user