Mercurial
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 103:f6d2f2eaaf84 | 104:2301aeb7503b |
|---|---|
| 1 #!/bin/bash | |
| 2 bazel build -c opt //hg-web:hg_web_server_bundle | |
| 3 | |
| 4 # Create | |
| 5 sudo cp -a bazel-bin/hg-web/hg_web_server_bundle /opt/hg_web_server_bundle_new | |
| 6 sudo chown -R hg_web_server:zenbu_team /opt/hg_web_server_bundle_new | |
| 7 | |
| 8 # Swap | |
| 9 sudo rm -rf /opt/hg_web_server_bundle_active | |
| 10 sudo mv /opt/hg_web_server_bundle_new /opt/hg_web_server_bundle_active | |
| 11 | |
| 12 sudo systemctl restart hg_web_server.service | |
| 13 echo "Deployment complete!" |