From 189e890008de2add98e96636bb7d2ea49daf5bdd Mon Sep 17 00:00:00 2001 From: Jack Firth Date: Mon, 29 Dec 2025 17:38:03 -0800 Subject: [PATCH] Try adding a deployment script Here we go. --- .tangled/workflows/deploy.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .tangled/workflows/deploy.yaml diff --git a/.tangled/workflows/deploy.yaml b/.tangled/workflows/deploy.yaml new file mode 100644 index 0000000..71b97d6 --- /dev/null +++ b/.tangled/workflows/deploy.yaml @@ -0,0 +1,32 @@ +# Mostly copied from the Wisp docs: https://docs.wisp.place/cli/#cicd-integration + +when: + - event: ['push'] + branch: ['main'] + - event: ['manual'] + +engine: 'nixery' + +dependencies: + nixpkgs: + - coreutils + - curl + - racket + +steps: + - name: build site + command: | + scribble --dest dist index.scrbl resume.scrbl + + - name: deploy to wisp + command: | + # Download Wisp CLI + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli + chmod +x wisp-cli + + # Deploy to Wisp + ./wisp-cli \ + "notjack.space" \ + --path "dist" \ + --site "site" \ + --password "$WISP_APP_PASSWORD" -- 2.51.2