this repo has no description

Temporarily move to CF pages

Signed-off-by: Naomi Roberts <mia@naomieow.xyz>

lesbian.skin 60e9801f 4da65af6

verified
+22 -20
+19 -15
.tangled/workflows/deploy.yml
··· 13 13 nixpkgs: 14 14 - coreutils 15 15 - curl 16 + - nodejs 16 17 17 - environment: 18 - SITE_PATH: "site/dist" 19 - SITE_NAME: "docs-lesbian-skin" 20 - WISP_HANDLE: "lesbian.skin" 18 + # environment: 19 + # SITE_PATH: "site/dist" 20 + # SITE_NAME: "docs-lesbian-skin" 21 + # WISP_HANDLE: "lesbian.skin" 21 22 22 23 steps: 23 24 - name: build site 24 25 command: | 25 26 nix run .#build 26 27 27 - - name: deploy to wisp 28 - command: | 29 - # Download Wisp CLI 30 - curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 31 - chmod +x wisp-cli 28 + # - name: deploy to wisp 29 + # command: | 30 + # # Download Wisp CLI 31 + # curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 32 + # chmod +x wisp-cli 32 33 33 - # Deploy to Wisp 34 - ./wisp-cli \ 35 - "$WISP_HANDLE" \ 36 - --path "$SITE_PATH" \ 37 - --site "$SITE_NAME" \ 38 - --password "$ATPROTO_APP_PASSWORD" 34 + # # Deploy to Wisp 35 + # ./wisp-cli \ 36 + # "$WISP_HANDLE" \ 37 + # --path "$SITE_PATH" \ 38 + # --site "$SITE_NAME" \ 39 + # --password "$ATPROTO_APP_PASSWORD" 40 + - name: Deploy to CF Pages 41 + command: | 42 + npx --yes wrangler pages deploy ./site/dist --project-name docs-lesbian-skin --branch main
+1 -1
site/dev/site_dev.gleam
··· 44 44 case build { 45 45 Ok(_) -> io.println("Build succeeded!") 46 46 Error(e) -> { 47 - echo io.println_error("Build failed!") 47 + io.println_error("Build failed: " <> string.inspect(e)) 48 48 } 49 49 } 50 50 }
+2 -4
site/src/site/docs.gleam
··· 4 4 import mork/to_lustre 5 5 6 6 pub fn view(doc: String) -> element.Element(a) { 7 - let a = 8 - echo doc 9 - |> mork.parse 10 7 html.html([], [ 11 8 html.body( 12 9 [], 13 - a 10 + doc 11 + |> mork.parse 14 12 |> to_lustre.to_lustre, 15 13 ), 16 14 ])