greg.everydayimshuflin.com/justfile
2024-01-31 23:57:11 -08:00

19 lines
542 B
Makefile

default:
just --list
server := "realname-server.everydayimshuflin.com"
resume_dir := "/home/greg/code/active/resume"
resume_filename := "Greg Shuflin resume.pdf"
update-resume:
nix flake lock --update-input resume-flake
deploy-html:
scp index.html favicon.png style.css self.jpg greg@{{server}}:"/srv/greg.everydayimshuflin.com/"
deploy-resume-pdf:
just {{resume_dir}}/build_resume
scp -r "{{resume_dir}}/{{resume_filename}}" greg@{{server}}:"/srv/greg.everydayimshuflin.com/resume"
deploy: deploy-html deploy-resume-pdf