summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 5661e9b..67402ff 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -20,10 +20,14 @@ find . -name "*.qmd" -not -path "./.*" -not -path "./public/*" | while read -r f
done
# 4. Add cv
-mkdir public/cv
+mkdir -p public/cv
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
+
echo "Pushing to vps"
rsync -avz --delete public/ jayrup.me:~/homepage/public/