remove root Makefile and get rid of cd in drone ci

This commit is contained in:
Willy Kloucek committed 2020-11-23 09:12:45 +01:00
1 parent bdb7433926
commit cbcf82136d
4 files changed
+34 -88

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
.PHONY: docs-copy
docs-copy:
mkdir -p hugo/content/; \
cd hugo; \
git init; \
git remote rm origin; \
git remote add origin https://github.com/owncloud/owncloud.github.io; \
git fetch --depth=1; \
git checkout origin/source -f; \
rsync -ax --delete --exclude hugo/ --exclude Makefile ../. content/; \