A React component library for rendering common AT Protocol records for applications such as Bluesky and Leaflet.
at main 1.0 kB view raw
1when: 2 - event: ['push'] 3 branch: ['main'] 4 - event: ['manual'] 5engine: 'nixery' 6clone: 7 skip: false 8 depth: 1 9 submodules: false 10dependencies: 11 nixpkgs: 12 - nodejs 13 - coreutils 14 - curl 15 github:NixOS/nixpkgs/nixpkgs-unstable: 16 - bun 17 18environment: 19 SITE_PATH: 'demo' 20 SITE_NAME: 'atproto-ui' 21 WISP_HANDLE: 'ana.pds.nkp.pet' 22 23steps: 24 - name: build demo 25 command: | 26 export PATH="$HOME/.nix-profile/bin:$PATH" 27 28 # regenerate lockfile, https://github.com/npm/cli/pull/8184 makes rolldown not install 29 rm package-lock.json bun.lock 30 bun install 31 32 # run directly with bun because of shebang issues in nix 33 BUILD_TARGET=demo bun node_modules/.bin/vite build 34 - name: upload to wisp 35 command: | 36 curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 37 chmod +x wisp-cli 38 ./wisp-cli \ 39 "$WISP_HANDLE" \ 40 --path "$SITE_PATH" \ 41 --site "$SITE_NAME" \ 42 --password "$WISP_APP_PASSWORD"