make: add renovatebot
This commit is contained in:
parent
f5de975182
commit
0216cf5d75
1 changed files with 18 additions and 0 deletions
18
Makefile
18
Makefile
|
@ -1,19 +1,37 @@
|
||||||
PREFIX ?= dist
|
PREFIX ?= dist
|
||||||
|
|
||||||
|
.PHONY: help
|
||||||
help:
|
help:
|
||||||
cat Makefile
|
cat Makefile
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
pnpm run docs:build --dest $(PREFIX)
|
pnpm run docs:build --dest $(PREFIX)
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install: build
|
install: build
|
||||||
|
|
||||||
|
.PHONY: dev
|
||||||
dev:
|
dev:
|
||||||
pnpm run docs:dev
|
pnpm run docs:dev
|
||||||
|
|
||||||
|
.PHONY: deps
|
||||||
deps:
|
deps:
|
||||||
pnpm install
|
pnpm install
|
||||||
|
|
||||||
|
.PHONY: init-git-hooks
|
||||||
init-git-hooks:
|
init-git-hooks:
|
||||||
ln -sf $(PWD)/scripts/pre-commit $(PWD)/.git/hooks/pre-commit
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue