From 969712378f7bd183582c5459585eb501ffbf88e5 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 9 Jun 2017 14:54:45 +0200 Subject: Deploy script --- .gitattributes | 1 + Makefile | 3 +++ config/deploy-pass | Bin 0 -> 33 bytes config/deploy-path | Bin 0 -> 96 bytes 4 files changed, 4 insertions(+) create mode 100644 config/deploy-pass create mode 100644 config/deploy-path 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 Binary files /dev/null and b/config/deploy-pass differ diff --git a/config/deploy-path b/config/deploy-path new file mode 100644 index 0000000..a7a4bc0 Binary files /dev/null and b/config/deploy-path differ -- cgit v1.2.3