this repo has no description madoka.systmes

add ci

+41 -4
-4
.gitignore
··· 2 2 result 3 3 public/ 4 4 .DS_Store 5 - .* 6 - 7 - !.envrc 8 - !.gitignore
+41
.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 + - coreutils 16 + - curl 17 + 18 + environment: 19 + SITE_PATH: "result" 20 + SITE_NAME: "madoka" 21 + WISP_HANDLE: "madoka.systems" 22 + 23 + steps: 24 + - name: build site 25 + command: | 26 + export PATH="$HOME/.nix-profile/bin:$PATH" 27 + 28 + nix build 29 + 30 + - name: deploy to wisp 31 + command: | 32 + # Download Wisp CLI 33 + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 34 + chmod +x wisp-cli 35 + 36 + # Deploy to Wisp 37 + ./wisp-cli \ 38 + "$WISP_HANDLE" \ 39 + --path "$SITE_PATH" \ 40 + --site "$SITE_NAME" \ 41 + --password "$WISP_APP_PASSWORD"