aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/deploy.sh b/deploy.sh
index c2bfdb4..c5be4d6 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -24,10 +24,6 @@ VERSION=$(cat package.json \
| sed 's/[",]//g' \
| tr -d '[[:space:]]')
-echo "Deploying for tag: $VERSION."
-git add package.json package-lock.json
-git commit --amend --no-edit
-
tput setaf 4
echo "> Build app"
tput sgr0
@@ -37,6 +33,12 @@ npm install
npm run build
tput setaf 4
+echo "Deploying for tag: $VERSION."
+tput sgr0
+git add package.json package-lock.json
+git commit --amend --no-edit
+
+tput setaf 4
echo "> Copy to gh-pages branch and commit"
tput sgr0