Mercurial
diff hg-web/deploy.sh @ 104:2301aeb7503b
[Hg Web] Super simple mercurial server.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 10:20:45 -0800 |
| parents | |
| children | 4de2fb74ce82 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hg-web/deploy.sh Sat Jan 03 10:20:45 2026 -0800 @@ -0,0 +1,13 @@ +#!/bin/bash +bazel build -c opt //hg-web:hg_web_server_bundle + +# Create +sudo cp -a bazel-bin/hg-web/hg_web_server_bundle /opt/hg_web_server_bundle_new +sudo chown -R hg_web_server:zenbu_team /opt/hg_web_server_bundle_new + +# Swap +sudo rm -rf /opt/hg_web_server_bundle_active +sudo mv /opt/hg_web_server_bundle_new /opt/hg_web_server_bundle_active + +sudo systemctl restart hg_web_server.service +echo "Deployment complete!"