Add custom deploy to makefile

This commit is contained in:
relikd
2019-12-14 13:01:12 +01:00
parent 0c6e936c28
commit 8930347e65
2 changed files with 18 additions and 0 deletions

View File

@@ -28,6 +28,13 @@ build:
(rm content/recipes; ln -s ../../data/distribution/ content/recipes) && \ (rm content/recipes; ln -s ../../data/distribution/ content/recipes) && \
lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_APPCACHE lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_APPCACHE
deploy:
@echo
@echo 'Warning: This will not(!) build but sync all files in ./bin'
@( read -p "Continue? [y/N]: " sure && case "$$sure" in [yY]) true;; *) false;; esac )
@echo # --dry-run
rsync -rclzv --exclude=.lektor --exclude=.DS_Store --delete bin/ vps:/srv/http/recipe-lekture
# Helper methods on all recipes # Helper methods on all recipes
find-links: find-links:

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
<circle cx="500" cy="500" r="450"/>
<rect x="0" y="75" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -51.7767 125)" width="250" height="100"/>
<rect x="750" y="75" transform="matrix(0.7071 0.7071 -0.7071 0.7071 344.6699 -582.1068)" width="250" height="100"/>
<circle fill="#FFFFFF" cx="500" cy="500" r="350"/>
<rect x="450" y="177" fill="#010202" width="100" height="345"/>
<rect x="529" y="428.8" transform="matrix(-0.5736 0.8192 -0.8192 -0.5736 1362.6992 393.2237)" fill="#010202" width="100" height="245"/>
</svg>

After

Width:  |  Height:  |  Size: 864 B