add basic lektor project
This commit is contained in:
parent
b38c49022a
commit
0e9bdc0a6f
12 changed files with 171 additions and 21 deletions
17
Makefile
Normal file
17
Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
BUILDDIR=ucloud-docs-build
|
||||
DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/ucloud/
|
||||
|
||||
all: publish
|
||||
|
||||
pull:
|
||||
git pull
|
||||
|
||||
publish: pull build permissions
|
||||
rsync -av --exclude .lektor/ $(BUILDDIR)/ $(DESTINATION)
|
||||
|
||||
permissions: build
|
||||
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
|
||||
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
||||
|
||||
build:
|
||||
cd lektor && lektor build -O ../$(BUILDDIR)
|
||||
Loading…
Add table
Add a link
Reference in a new issue