From b7a45219cda8e1f830eb2640822a4c9d9b1e8401 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 13 Jan 2024 20:29:53 +0100 Subject: [PATCH] install rsync to deploy --- .forgejo/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index aa68731..e9d902b 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -17,6 +17,7 @@ jobs: - name: Deploy run: | + apt update && apt install -y rsync curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' main/_site/. ellbot@ssh.ellpeck.de:/var/www/ellpeck