ensure hugo content path exists

This commit is contained in:
Robert Kaussow
2020-02-12 13:46:04 +01:00
parent 94f19c3a7c
commit 42a5ba79b4
+2 -1
View File
@@ -134,13 +134,14 @@ release-finish: release-copy release-check
.PHONY: docs-copy
docs-copy:
mkdir -p $(HUGO); \
mkdir -p $(HUGO)/content/extensions; \
cd $(HUGO); \
git init; \
git remote rm origin; \
git remote add origin https://github.com/owncloud/owncloud.github.io; \
git fetch; \
git checkout origin/source -f; \
rsync --delete -aX ../docs/ content/extensions/ocis-accounts
rsync --delete -aX ../docs/ content/extensions/$(NAME)
.PHONY: docs-build
docs-build: