aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2021-02-09 10:51:09 +0100
committerJakob Stendahl <jakobste@uio.no>2021-02-09 10:51:32 +0100
commitd083d7a4bbb99ec4a89d9143ef1b6f6492dc8df8 (patch)
tree20225d2a9e23a07e0d6029e0f1a9741a1bc47b0b
parentb806f13c1a022982d690dea3e59412b45bf336ed (diff)
downloadhoverbit-ble-d083d7a4bbb99ec4a89d9143ef1b6f6492dc8df8.tar.gz
hoverbit-ble-d083d7a4bbb99ec4a89d9143ef1b6f6492dc8df8.zip
:hammer: Move this handling to post-build-script
-rwxr-xr-xdeploy.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/deploy.sh b/deploy.sh
index 0088bb4..dc017dd 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -33,8 +33,6 @@ rm -r dist/
npm install
npm run build
-
-
tput setaf 4
echo "> Copy to gh-pages branch and commit"
tput sgr0
@@ -46,13 +44,9 @@ git rm -rf .
cp dist/.gitignore .gitignore
cp -r dist/* .
-sed -i".bak" "s/{{ VERSION }}/$VERSION/g" index.html
-rm index.html.bak
-
git add .
git commit -m ":rocket: Deploy app v$VERSION"
-
tput setaf 4
echo "> Return to controller branch and tag last commit"
tput sgr0