greg.everydayimshuflin.com/justfile

19 lines
542 B
Makefile
Raw Permalink Normal View History

2022-07-29 16:03:54 -07:00
default:
just --list
2021-09-23 02:26:58 -07:00
server := "realname-server.everydayimshuflin.com"
2022-04-15 12:08:56 -07:00
resume_dir := "/home/greg/code/active/resume"
2021-10-06 15:57:55 -07:00
resume_filename := "Greg Shuflin resume.pdf"
2021-01-14 03:32:04 -08:00
2024-01-31 23:57:11 -08:00
update-resume:
nix flake lock --update-input resume-flake
2023-03-07 16:53:21 -08:00
deploy-html:
2023-02-19 03:39:18 -08:00
scp index.html favicon.png style.css self.jpg greg@{{server}}:"/srv/greg.everydayimshuflin.com/"
2023-03-07 16:53:21 -08:00
deploy-resume-pdf:
2021-10-06 15:57:55 -07:00
just {{resume_dir}}/build_resume
scp -r "{{resume_dir}}/{{resume_filename}}" greg@{{server}}:"/srv/greg.everydayimshuflin.com/resume"
2023-03-07 16:53:21 -08:00
deploy: deploy-html deploy-resume-pdf