aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-02-02 12:15:21 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-02-02 12:15:21 +0100
commit7d11734313eeab95b4ce7c4591497908c4ed9dd4 (patch)
treeb151ee4d631e48ccaec1896d5282d2095d0ab3f4
parent2cd8d601688eb6bf8dc022afda813eaeac1d7fc5 (diff)
update travis deploy.sh script
-rw-r--r--.travis.yml2
-rw-r--r--deploy.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 91d53d5..cfa123a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,4 +4,4 @@ node_js:
script:
- make
after_success:
- - sh deploy.sh
+ - bash deploy.sh
diff --git a/deploy.sh b/deploy.sh
index 89a827c..31a8e8d 100644
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -o errexit -o nounset
@@ -10,7 +10,7 @@ fi
rev=$(git rev-parse --short HEAD)
-cd stage/_book
+cd dist
git init
git config user.name "fournilsipma bot"