Image sharing backed by ATProto
atproto images gleam

wisp.place CI

Signed-off-by: Naomi Roberts <mia@naomieow.xyz>

lesbian.skin 81aebbba 8bceace4

verified
+48
+48
.tangled/workflows/deploy.yaml
··· 1 + when: 2 + - event: ["push"] 3 + branch: ["main"] 4 + - event: ["manual"] 5 + 6 + engine: "nixery" 7 + 8 + clone: 9 + skip: false 10 + depth: 1 11 + submodules: false 12 + 13 + dependencies: 14 + nixpkgs: 15 + - nodejs 16 + - coreutils 17 + - curl 18 + github:NixOS/nixpkgs/nixpkgs-unstable: 19 + - bun 20 + - gleam 21 + 22 + environment: 23 + SITE_PATH: "dist" 24 + SITE_NAME: "plonk" 25 + WISP_HANDLE: "plonk.top" 26 + 27 + steps: 28 + - name: build site 29 + command: | 30 + export PATH="$HOME/.nix-profile/bin:$PATH" 31 + 32 + # you may need to regenerate the lockfile due to nixery being weird 33 + # rm package-lock.json bun.lock 34 + bun i 35 + gleam run -m lustre/dev build 36 + 37 + - name: deploy to wisp 38 + command: | 39 + # Download Wisp CLI 40 + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 41 + chmod +x wisp-cli 42 + 43 + # Deploy to Wisp 44 + ./wisp-cli \ 45 + "$WISP_HANDLE" \ 46 + --path "$SITE_PATH" \ 47 + --site "$SITE_NAME" \ 48 + --password "$WISP_APP_PASSWORD"