This commit is contained in:
parent
16017326aa
commit
8f3b93d61d
@ -10,11 +10,10 @@ concurrency:
|
|||||||
limit: 1
|
limit: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: assets
|
- name: generate
|
||||||
image: thegeeklab/alpine-tools
|
image: thegeeklab/alpine-tools
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p themes/hugo-geekblog/
|
- make doc
|
||||||
- curl -L https://github.com/thegeeklab/hugo-geekblog/releases/latest/download/hugo-geekblog.tar.gz | tar -xz -C themes/hugo-geekblog/ --strip-components=1
|
|
||||||
|
|
||||||
- name: markdownlint
|
- name: markdownlint
|
||||||
image: thegeeklab/markdownlint-cli
|
image: thegeeklab/markdownlint-cli
|
||||||
@ -110,6 +109,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 34c81c071b579d8f60d8c301eb1251d0430031ac4af95536447ed61db62f686d
|
hmac: ccf04025bf1fdb04c2bafca6993b6a09309f7b37b450ceaf5ab801351a066b80
|
||||||
|
|
||||||
...
|
...
|
||||||
|
8
.prettierignore
Normal file
8
.prettierignore
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
*.html
|
||||||
|
.drone.yml
|
||||||
|
search*.js
|
||||||
|
_normalize.css
|
||||||
|
.lighthouseci/
|
||||||
|
themes/
|
||||||
|
static/js/
|
||||||
|
src/favicon/
|
20
Makefile
Normal file
20
Makefile
Normal 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
14
renovate.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user