mirror of
https://github.com/thegeeklab/woodpecker-plugins.git
synced 2024-11-22 19:30:40 +00:00
rework drone-s3-sync doc files loading
This commit is contained in:
parent
0cd30c4a7a
commit
40eb095f6d
@ -2,5 +2,6 @@ https://github.com/thegeeklab/drone-docker;docs;content/plugins/drone-docker
|
|||||||
https://github.com/thegeeklab/drone-docker-buildx;docs;content/plugins/drone-docker-buildx
|
https://github.com/thegeeklab/drone-docker-buildx;docs;content/plugins/drone-docker-buildx
|
||||||
https://github.com/thegeeklab/drone-github-comment;docs;content/plugins/drone-github-comment
|
https://github.com/thegeeklab/drone-github-comment;docs;content/plugins/drone-github-comment
|
||||||
https://github.com/thegeeklab/drone-matrix;docs;content/plugins/drone-matrix
|
https://github.com/thegeeklab/drone-matrix;docs;content/plugins/drone-matrix
|
||||||
https://github.com/thegeeklab/drone-s3-sync;docs;content/plugins/drone-s3-sync
|
|
||||||
https://github.com/thegeeklab/drone-yaml;docs;content/tools/drone-yaml
|
https://github.com/thegeeklab/drone-yaml;docs;content/tools/drone-yaml
|
||||||
|
https://github.com/thegeeklab/drone-s3-sync;docs:content/;content/plugins/drone-s3-sync
|
||||||
|
https://github.com/thegeeklab/drone-s3-sync;docs:data/;data/properties/drone-s3-sync
|
||||||
|
9
Makefile
9
Makefile
@ -1,8 +1,11 @@
|
|||||||
# renovate: datasource=github-releases depName=thegeeklab/hugo-geekdoc
|
# renovate: datasource=github-releases depName=thegeeklab/hugo-geekdoc
|
||||||
THEME_VERSION := v0.30.1
|
THEME_VERSION := v0.30.2
|
||||||
THEME := hugo-geekdoc
|
THEME := hugo-geekdoc
|
||||||
|
|
||||||
BASEDIR := .
|
BASEDIR := .
|
||||||
THEMEDIR := $(BASEDIR)/themes
|
THEMEDIR := $(BASEDIR)/themes
|
||||||
|
CONTENTDIR := $(BASEDIR)/content
|
||||||
|
DATADIR := $(BASEDIR)/data
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: doc
|
all: doc
|
||||||
@ -12,9 +15,9 @@ doc: doc-assets
|
|||||||
|
|
||||||
.PHONY: doc-assets
|
.PHONY: doc-assets
|
||||||
doc-assets:
|
doc-assets:
|
||||||
mkdir -p $(THEMEDIR)/$(THEME)/ ; \
|
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
|
curl -sSL "https://github.com/thegeeklab/$(THEME)/releases/download/${THEME_VERSION}/$(THEME).tar.gz" | tar -xz -C $(THEMEDIR)/$(THEME)/ --strip-components=1
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(THEMEDIR) && \
|
rm -rf $(THEMEDIR) $(CONTENTDIR)/**/ $(DATADIR)/*
|
||||||
|
Loading…
Reference in New Issue
Block a user