Commit e8e18ec3 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix little error in deployment

parent d2d4ed23
Pipeline #14998 passed with stages
in 24 seconds
...@@ -9,7 +9,7 @@ DEPLOY_PATH ?= /var/www/villas/website/ ...@@ -9,7 +9,7 @@ DEPLOY_PATH ?= /var/www/villas/website/
SRCDIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) SRCDIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
BUILDDIR ?= $(SRCDIR)/build BUILDDIR ?= $(SRCDIR)/build
RSYNC_OPTS ?= --archive --delete --verbose --progress --ignore-missing-args --copy-links --chown $(DEPLOY_USER):$(DEPLOY_USER) RSYNC_OPTS ?= --archive --delete --verbose --ignore-missing-args --copy-links --chown $(DEPLOY_USER):$(DEPLOY_USER)
DAVIX_OPTS ?= -r10 --userlogin $(DEPLOY_USER) --userpass $(DEPLOY_PASS) DAVIX_OPTS ?= -r10 --userlogin $(DEPLOY_USER) --userpass $(DEPLOY_PASS)
JEKYLL_OPTS ?= -s $(SRCDIR) -d $(BUILDDIR) JEKYLL_OPTS ?= -s $(SRCDIR) -d $(BUILDDIR)
...@@ -19,7 +19,7 @@ build: ...@@ -19,7 +19,7 @@ build:
deploy: deploy-rsync deploy: deploy-rsync
deploy-rsync: deploy-rsync:
rsync $(RSYNC_OPTS) $(BUILDDIR) $(DEPLOY_USER)@$(DEPLOY_HOST):$(DEPLOY_PATH) rsync $(RSYNC_OPTS) $(BUILDDIR)/ $(DEPLOY_USER)@$(DEPLOY_HOST):$(DEPLOY_PATH)
deploy-webdav: deploy-webdav:
# Davix returns 255 for some reason... # Davix returns 255 for some reason...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment