Add minimal CI configuration
This commit is contained in:
parent
e43deea443
commit
7859cd229a
2 changed files with 42 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
BUILDDIR=../ungleich-staticcms-build
|
||||
BUILDDIR?=../ungleich-staticcms-build
|
||||
DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/u/
|
||||
|
||||
all: publish
|
||||
|
|
@ -6,9 +6,10 @@ all: publish
|
|||
pull:
|
||||
git pull
|
||||
|
||||
publish: pull build permissions
|
||||
publish: permissions
|
||||
rsync -av --delete --exclude .lektor/ $(BUILDDIR)/u/ $(DESTINATION)
|
||||
rsync -av --delete $(BUILDDIR)/sitemap.xml $(DESTINATION)
|
||||
|
||||
permissions: build
|
||||
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
|
||||
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue