aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorJoris2020-02-16 22:51:41 +0100
committerJoris2020-02-16 22:51:41 +0100
commit492d1f0c93d559ab275ecd7974b156b93d395ac3 (patch)
tree32cc26c9c6a4cfda83f266372f4c8ffa2329095a /deploy
parent129887bd1e8185a1ac1ff1d03d9ad22b34ffa686 (diff)
Fix deploy command for initial run
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy b/deploy
index b3c6d61..99fe22a 100755
--- a/deploy
+++ b/deploy
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
-git branch -D pages
+git branch -D pages || true
git checkout -b pages
rm -f public/game_of_life.js
rm -f public/game_of_life_bg.wasm