summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 22f3cb3..a4e533f 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -2,6 +2,9 @@
# Require : Cargo (Rust)
+# Change to the directory where the script is located
+cd "$(dirname "$0")" || exit 1
+
# Build
if FORCE_BUILD=$(date +%s) cargo build --workspace --release; then
# Export