My personal website vittoriogioda.com
blog portfolio personal-website

fix: revert workflow

+16 -44
+16 -44
.tangled/workflows/deploy.yml
··· 1 - --- 2 1 when: 3 - - event: 4 - - push 5 - branch: 6 - - main 7 - - event: 8 - - manual 9 - engine: nixery 2 + - event: ['push'] 3 + branch: ['main'] 4 + - event: ['manual'] 5 + 6 + engine: 'nixery' 7 + 10 8 clone: 11 9 skip: false 12 10 depth: 1 13 - submodules: true 11 + 14 12 dependencies: 15 13 nixpkgs: 16 - - git 17 - - nodejs 18 - - gcc 19 - - glibc 20 - github:NixOS/nixpkgs/nixpkgs-unstable: 21 - - bun 14 + - coreutils 15 + - curl 16 + 22 17 environment: 23 18 SITE_PATH: './public' 24 19 SITE_NAME: 'vittoriogioda.com' 25 20 WISP_HANDLE: 'vittoriogioda.com' 26 - steps: 27 - - name: Initialize submodules 28 - command: | 29 - git submodule update --init --recursive 30 - - name: Build wisp-cli 31 - command: | 32 - export PATH="$HOME/.nix-profile/bin:$PATH" 33 - 34 - bun install 35 - 36 - cd cli 37 - 38 - bun install 39 - bun run build 40 - bun link 41 - 42 - cd .. 43 - - name: Build docs 44 - command: | 45 - export PATH="$HOME/.nix-profile/bin:$PATH" 46 21 47 - cd docs 48 - bun install 49 - bun run build 50 - - name: Deploy to Wisp.place 22 + steps: 23 + - name: deploy assets to wisp 51 24 command: | 52 - export PATH="$HOME/.nix-profile/bin:$PATH" 25 + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli 26 + chmod +x wisp-cli 53 27 54 - pwd 55 - ls 56 - 57 - bun run ./cli/dist/index.js \ 28 + # Deploy to Wisp 29 + ./wisp-cli deploy \ 58 30 "$WISP_HANDLE" \ 59 31 --path "$SITE_PATH" \ 60 32 --site "$SITE_NAME" \