static site frontend for mapped.at mapped.at
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add wisp deploy to spindle workflow

+40
+40
.tangled/workflows/spindle.yaml
··· 1 + when: 2 + - event: ["push"] 3 + branch: ["main"] 4 + - event: ["manual"] 5 + 6 + engine: "nixery" 7 + 8 + dependencies: 9 + nixpkgs: 10 + - nodejs 11 + - coreutils 12 + - curl 13 + - glibc 14 + github:NixOS/nixpkgs/nixpkgs-unstable: 15 + - bun 16 + 17 + environment: 18 + SITE_PATH: "." 19 + SITE_NAME: "mapped.at" 20 + WISP_HANDLE: "mapped.at" 21 + 22 + steps: 23 + - name: build site 24 + command: | 25 + export PATH="$HOME/.nix-profile/bin:$PATH" 26 + 27 + echo "This is where a build step would go... if I had one!" 28 + 29 + - name: deploy to wisp 30 + command: | 31 + # Download Wisp CLI 32 + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 33 + chmod +x wisp-cli 34 + 35 + # Deploy to Wisp 36 + ./wisp-cli \ 37 + "$WISP_HANDLE" \ 38 + --path "$SITE_PATH" \ 39 + --site "$SITE_NAME" \ 40 + --password "$WISP_APP_PASSWORD"