summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 9ef565c..9daf85b 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -40,6 +40,10 @@ mkdir -p public/assets
cp -r assets/* public/
cp -r assets/* public/assets/
+# .txt twin: curl/wget UAs map to .txt, so `curl https://jayrup.me/public_key`
+# resolves to public_key.txt. Source of truth stays assets/public_key.
+cp assets/public_key public/public_key.txt
+
# 6. Deploy marker
printf 'deployed %s commit %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$(git rev-parse --short HEAD)" > public/last-deploy.txt