This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user