summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6e8fc59..160c5ae 100644
--- a/README.md
+++ b/README.md
@@ -144,3 +144,15 @@ a full copy of a large APK in a public directory, and four publishes in one even
```
publish-apk app/build/outputs/apk/debug/app-debug.apk listen-debug.apk
```
+
+From another machine — the laptop — send it to the real host rather than
+writing locally:
+
+```
+PUBLISH_SSH=user@tungsten publish-apk app/build/outputs/apk/debug/app-debug.apk listen-debug.apk
+```
+
+The host check still applies: without `PUBLISH_SSH` a build from elsewhere is
+refused outright, and with it the file is copied to a temporary name and moved
+into place only once the transfer completes. The remote copy is hash-compared
+against the source and the served bytes are checked, same as a local publish.