when: - event: ["push"] branch: ["master"] engine: "nixery" dependencies: nixpkgs: - nix - coreutils - curl - glibc - nodejs environment: SITE_PATH: "result/dist" SITE_NAME: "personal" WISP_HANDLE: "skilet.ro" steps: - name: Build Site with Nix command: | export PATH="$HOME/.nix-profile/bin:$PATH" nix build - name: Deploy to Wisp command: | # Download Wisp CLI curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli chmod +x wisp-cli # Deploy to Wisp ./wisp-cli \ "$WISP_HANDLE" \ --path "$SITE_PATH" \ --site "$SITE_NAME" \ --password "$WISP_APP_PASSWORD"