Fix pagefind download and rsync path
Build & Deploy / deploy (push) Failing after 27s

This commit is contained in:
2026-06-06 19:03:56 +02:00
parent edecdc3ad6
commit f3781c47bf
+2 -4
View File
@@ -22,9 +22,7 @@ jobs:
run: hugo --minify
- name: Build search index
run: |
curl -sL https://github.com/CloudCannon/pagefind/releases/latest/download/pagefind-x86_64-unknown-linux-musl.tar.gz | tar xz
./pagefind --site public
run: npx pagefind@latest --site public
- name: Deploy via rsync
env:
@@ -34,4 +32,4 @@ jobs:
echo "$SSH_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H pyte.dev >> ~/.ssh/known_hosts
rsync -avz --delete -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" public/ demian@pyte.dev:/opt/docker/website/
rsync -avz --delete -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" public demian@pyte.dev:/opt/docker/website/