remove root Makefile and get rid of cd in drone ci

This commit is contained in:
Willy Kloucek
2020-11-12 19:50:53 +01:00
parent bdb7433926
commit cbcf82136d
4 changed files with 34 additions and 88 deletions

11
docs/Makefile Normal file
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/; \