Browse Source

Removed deploy.sh

Michał Góral 3 years ago
parent
commit
f4ec256006
1 changed files with 0 additions and 20 deletions
  1. 0
    20
      tools/deploy.sh

+ 0
- 20
tools/deploy.sh View File

@@ -1,20 +0,0 @@
1
-#!/bin/bash
2
-
3
-SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
4
-
5
-pushd "$SCRIPTPATH/.." > /dev/null
6
-
7
-if [[ ! -f "$SCRIPTPATH/.deploy" ]]; then
8
-    echo "ERROR: $SCRIPTPATH/.deploy" does not exist!
9
-    echo "    note: It should contain one line with host address with the following format:"
10
-    echo "    note: user@host:path/to/deployment/directory"
11
-    exit 1
12
-fi
13
-
14
-rsync -vrzc --delete ./_site/ `cat "${SCRIPTPATH}/.deploy"` $@
15
-
16
-if [[ $? -ne 0 ]]; then
17
-    echo "pwd: `pwd`"
18
-fi
19
-
20
-popd > /dev/null

Loading…
Cancel
Save