summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-09 14:54:45 +0200
committeremkael <emkael@tlen.pl>2017-06-09 14:54:45 +0200
commit969712378f7bd183582c5459585eb501ffbf88e5 (patch)
treedd29e6047a3c774986f2a0eaf575150e73323248
parent26a156cf284806bcd3fb377e33967410aaa18e55 (diff)
Deploy script
-rw-r--r--.gitattributes1
-rw-r--r--Makefile3
-rw-r--r--config/deploy-passbin0 -> 33 bytes
-rw-r--r--config/deploy-pathbin0 -> 96 bytes
4 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 3419812..e55b7aa 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,2 @@
config/*db.json filter=git-crypt diff=git-crypt
+config/deploy-* filter=git-crypt diff=git-crypt
diff --git a/Makefile b/Makefile
index 83728ee..0d9b2d6 100644
--- a/Makefile
+++ b/Makefile
@@ -22,3 +22,6 @@ $(tmpfiles):
players:
bin/build-players.sh http
+
+deploy:
+ sshpass -p `cat config/deploy-pass` rsync -urpP http/ `cat config/deploy-path`
diff --git a/config/deploy-pass b/config/deploy-pass
new file mode 100644
index 0000000..1a0d0a7
--- /dev/null
+++ b/config/deploy-pass
Binary files differ
diff --git a/config/deploy-path b/config/deploy-path
new file mode 100644
index 0000000..a7a4bc0
--- /dev/null
+++ b/config/deploy-path
Binary files differ