make: add renovatebot

This commit is contained in:
Dmitriy Pleshevskiy 2024-08-05 17:44:15 +03:00
parent f5de975182
commit 0216cf5d75
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -1,19 +1,37 @@
PREFIX ?= dist
.PHONY: help
help:
cat Makefile
.PHONY: build
build:
pnpm run docs:build --dest $(PREFIX)
.PHONY: install
install: build
.PHONY: dev
dev:
pnpm run docs:dev
.PHONY: deps
deps:
pnpm install
.PHONY: init-git-hooks
init-git-hooks:
ln -sf $(PWD)/scripts/pre-commit $(PWD)/.git/hooks/pre-commit
.PHONY: renovatebot
renovatebot:
docker run \
--pull always \
--rm \
-eGITHUB_COM_TOKEN \
-eRENOVATE_TOKEN \
-eRENOVATE_PLATFORM \
-eRENOVATE_ENDPOINT \
-eRENOVATE_REPOSITORIES \
renovate/renovate