enable renovate
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-11-22 15:45:47 +01:00
parent 16017326aa
commit 8f3b93d61d
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
4 changed files with 45 additions and 4 deletions

View File

@ -10,11 +10,10 @@ concurrency:
limit: 1
steps:
- name: assets
- name: generate
image: thegeeklab/alpine-tools
commands:
- mkdir -p themes/hugo-geekblog/
- curl -L https://github.com/thegeeklab/hugo-geekblog/releases/latest/download/hugo-geekblog.tar.gz | tar -xz -C themes/hugo-geekblog/ --strip-components=1
- make doc
- name: markdownlint
image: thegeeklab/markdownlint-cli
@ -110,6 +109,6 @@ depends_on:
---
kind: signature
hmac: 34c81c071b579d8f60d8c301eb1251d0430031ac4af95536447ed61db62f686d
hmac: ccf04025bf1fdb04c2bafca6993b6a09309f7b37b450ceaf5ab801351a066b80
...

8
.prettierignore Normal file
View File

@ -0,0 +1,8 @@
*.html
.drone.yml
search*.js
_normalize.css
.lighthouseci/
themes/
static/js/
src/favicon/

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
# renovate: datasource=github-releases depName=thegeeklab/hugo-geekblog
THEME_VERSION := v0.5.3
THEME := hugo-geekblog
BASEDIR := .
THEMEDIR := $(BASEDIR)/themes
.PHONY: all
all: doc
.PHONY: doc
doc: doc-assets
.PHONY: doc-assets
doc-assets:
mkdir -p $(THEMEDIR)/$(THEME)/ ; \
curl -sSL "https://github.com/thegeeklab/$(THEME)/releases/download/${THEME_VERSION}/$(THEME).tar.gz" | tar -xz -C $(THEMEDIR)/$(THEME)/ --strip-components=1
.PHONY: clean
clean:
rm -rf $(THEMEDIR) && \

14
renovate.json Normal file
View File

@ -0,0 +1,14 @@
{
"extends": ["config:base"],
"regexManagers": [
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION := (?<currentValue>.*)\\s"
]
}
],
"droneci": {
"enabled": false
}
}