at main 662 B view raw
1when: 2 - event: ["push"] 3 branch: main 4 5engine: nixery 6 7dependencies: 8 nixpkgs: 9 - bun 10 - curl 11 - git 12 13environment: 14 WISP_DID: "did:plc:xbtmt2zjwlrfegqvch7fboei" 15 WISP_SITE_NAME: "pds-message-poc" 16 17steps: 18 - name: install and build 19 command: | 20 git submodule update --init --recursive 21 bun install 22 bun run build 23 24 - name: deploy to wisp 25 command: | 26 test -n "$WISP_APP_PASSWORD" 27 curl -sSL https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 28 chmod +x wisp-cli 29 ./wisp-cli deploy "$WISP_DID" --path ./build --site "$WISP_SITE_NAME" --password "$WISP_APP_PASSWORD"