summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
36d4a7c)
i won’t be using builds.sr.ht for deploying anymore. instead, i’ll
just use the ./deploy script introduced in this commit to directly
push the relevant files to my web server.
in preparation for the next commit.
+++ /dev/null
-image: alpine/3.9
-packages:
- - rsync
-sources:
- - https://git.sr.ht/~bandali/bandali.eu.org
-environment:
- deploy: deploy@bandali.eu.org
-secrets:
- - 6da5fd68-0594-4fc6-abe0-efe01ffe4b56
-tasks:
- - deploy: |
- sshopts="-o StrictHostKeyChecking=no"
- rsync --rsh="ssh $sshopts" --exclude='.git/' -rP \
- bandali.eu.org/ ${deploy}:/var/www/bandali.eu.org/
--- /dev/null
+.git/
+
+bandali-cv.pdf
+images
+papers
+presentations
--- /dev/null
+#!/bin/sh
+
+deploy=amin@shemshak.org
+
+rsync --exclude-from='.rsync-exclude' \
+ --delete \
+ -avzP \
+ ./ ${deploy}:~/www/