diff options
Diffstat (limited to 'deploy-docker.sh')
| -rwxr-xr-x | deploy-docker.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy-docker.sh b/deploy-docker.sh index f6ad4b4..2e72954 100755 --- a/deploy-docker.sh +++ b/deploy-docker.sh @@ -57,6 +57,11 @@ cp cv/index.txt public/cv.txt cp -r assets/* public/ cp -r assets/* public/assets/ +# nginx maps curl/wget UAs to .txt, so `curl https://jayrup.me/public_key` +# resolves to /public_key.txt. Single source of truth stays assets/public_key; +# browsers keep getting the suffixless /public_key. +cp assets/public_key public/public_key.txt + # Deploy status marker — site-visible proof of the last successful deploy printf 'deployed %s commit %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$SHORT_SHA" > public/last-deploy.txt |
