From 84e8c804f9cca94b60e14f8d3e04dd249cc43b8d Mon Sep 17 00:00:00 2001 From: Alex van de Sandt Date: Wed, 22 Jul 2026 17:54:11 -0500 Subject: [PATCH] Add just rule to upload to aws --- flake.nix | 1 + justfile | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index bd9a866..8c93af6 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,7 @@ with pkgs; mkShell { buildInputs = [ + awscli2 jujutsu typst zola diff --git a/justfile b/justfile index 28f8822..634bb72 100644 --- a/justfile +++ b/justfile @@ -1,6 +1,9 @@ cv := "./resume.typ" cv_out := "./static/resume.pdf" +out_dir := "./public" +s3_uri := "s3://alexvds.com" + typst-compile: typst compile {{cv}} {{cv_out}} @@ -18,3 +21,8 @@ build: zola-build [parallel] watch: zola-serve typst-watch +aws-login: + aws login + +upload: + aws s3 sync {{out_dir}} {{s3_uri}} -- 2.51.2