projects
/
~bandali
/
bndl.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b307aaa
)
Add build manifest
author
Amin Bandali
<amin@gnu.org>
Mon, 20 Aug 2018 05:49:21 +0000
(
01:49
-0400)
committer
Amin Bandali
<amin@gnu.org>
Mon, 20 Aug 2018 05:49:21 +0000
(
01:49
-0400)
.build.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/.build.yml
b/.build.yml
new file mode 100644
(file)
index 0000000..
197f879
--- /dev/null
+++ b/
.build.yml
@@ -0,0
+1,18
@@
+image: debian/stretch
+packages:
+ - emacs
+ - rsync
+sources:
+ - https://git.sr.ht/~aminb/aminb.org
+environment:
+ deploy: deploy@aminb.org
+secrets:
+ - 12deb555-3219-4d9d-b4c7-ffeda86ef5fe
+tasks:
+ - build: |
+ cd aminb.org
+ emacs -Q --script publish.el --funcall=aminb/publish
+ - deploy: |
+ cd aminb.org
+ sshopts="-o StrictHostKeyChecking=no"
+ rsync --rsh="ssh $sshopts" -rP public/ ${deploy}:/var/www/aminb/html/