0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-25 08:20:39 +00:00

rework drone-s3-sync doc files loading

This commit is contained in:
Robert Kaussow 2022-05-26 17:52:55 +02:00
parent 0cd30c4a7a
commit 40eb095f6d
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 8 additions and 4 deletions

View File

@ -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-github-comment;docs;content/plugins/drone-github-comment
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-s3-sync;docs:content/;content/plugins/drone-s3-sync
https://github.com/thegeeklab/drone-s3-sync;docs:data/;data/properties/drone-s3-sync

View File

@ -1,8 +1,11 @@
# renovate: datasource=github-releases depName=thegeeklab/hugo-geekdoc
THEME_VERSION := v0.30.1
THEME_VERSION := v0.30.2
THEME := hugo-geekdoc
BASEDIR := .
THEMEDIR := $(BASEDIR)/themes
CONTENTDIR := $(BASEDIR)/content
DATADIR := $(BASEDIR)/data
.PHONY: all
all: doc
@ -12,9 +15,9 @@ doc: doc-assets
.PHONY: 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
.PHONY: clean
clean:
rm -rf $(THEMEDIR) && \
rm -rf $(THEMEDIR) $(CONTENTDIR)/**/ $(DATADIR)/*