mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +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
|
.PHONY: build
|
||||||
|
|
||||||
imgs:
|
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/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
|
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 -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
|
convert docs/static/avatar.png -resize x120 docs/static/apple-touch-icon.png
|
||||||
.PHONY: imgs
|
.PHONY: imgs
|
||||||
|
|
||||||
|
site: imgs
|
||||||
|
pip install mkdocs-material
|
||||||
|
mkdocs build
|
||||||
|
.PHONY: site
|
||||||
|
|
||||||
serve: imgs
|
serve: imgs
|
||||||
@docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
|
@docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user