Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol. wisp.place

Docs error - Tangled>Wisp deployment fails (required file not found) #35

Closed nekomimi.pet
Closed opened by nekomimi.pet

I copied the CI/CD deployment code from the docs, however my pipeline keeps failing.

You can see my pipeline here: https://tangled.org/sequr.be/spiriet.be/blob/main/.tangled/workflows/publish.yaml

I already fixed 1 error as the CLI command was missing the deploy argument. I also added $HOME to all paths to ensure consistency.

Pipeline logs:

# Download Wisp CLI
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o $HOME/wisp-cli
chmod +x $HOME/wisp-cli

# Deploy to Wisp
$HOME/wisp-cli deploy \
  "$WISP_HANDLE" \
  --path "$SITE_PATH" \
  --site "$SITE_NAME" \
  --password "$WISP_APP_PASSWORD"

  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0


 14 102.0M  14 14.35M   0      0 14.36M      0   00:07           00:07 14.35M


100 102.0M 100 102.0M   0      0 56.36M      0   00:01   00:01         14.35M
100 102.0M 100 102.0M   0      0 56.36M      0   00:01   00:01         14.35M
100 102.0M 100 102.0M   0      0 56.36M      0   00:01   00:01         14.35M

bash: line 6: /tangled/home/wisp-cli: cannot execute: required file not found

let me update the docs, youll have to add glibc to the required nixpkgs. sorry about this

yay, adding glibc made it work again for me!

Sign up or Sign in to add to the discussion.