Deployment scripts of my Red Dwarf mirror to wisp.place rd.jbcrn.dev
red-dwarf wisp

ok this should work

+41
+41
.tangled/workflows/deploy.yml
··· 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 + 21 + environment: 22 + SITE_PATH: 'dist' 23 + SITE_NAME: 'red-dwarf' 24 + WISP_HANDLE: 'jbc.lol' 25 + 26 + steps: 27 + - name: build site 28 + command: | 29 + export PATH="$HOME/.nix-profile/bin:$PATH" 30 + bun install 31 + bun run build 32 + 33 + - name: deploy to wisp 34 + command: | 35 + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 36 + chmod +x wisp-cli 37 + ./wisp-cli deploy \ 38 + "$WISP_HANDLE" \ 39 + --path "$SITE_PATH" \ 40 + --site "$SITE_NAME" \ 41 + --password "$WISP_APP_PASSWORD"