summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 5fa8abf..9ef565c 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -36,8 +36,9 @@ cp cv/index.pdf public/cv.pdf
cp cv/index.txt public/cv.txt
# 5. Add assets (static files bundled in the repo)
-cp assets/dissertation.pdf public/dissertation.pdf
-cp assets/public_key public/public_key
+mkdir -p public/assets
+cp -r assets/* public/
+cp -r assets/* public/assets/
# 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