From 62aa741988976b15e7469036071b1bc3c003ec34 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 13 Jan 2024 17:33:28 +0100 Subject: [PATCH] combine some of these --- .github/workflows/web.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index a6e4031..44d4b68 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -22,7 +22,5 @@ jobs: - name: Deploy run: | curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb - mkdir ~/.ssh && chmod 700 ~/.ssh - echo "Host *" >> ~/.ssh/config && echo "ProxyCommand cloudflared access ssh --hostname %h" >> ~/.ssh/config && chmod 600 ~/.ssh/config - echo "${{ secrets.ELLBOT_KEY }}" >> ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa - rsync -e "ssh -o StrictHostKeyChecking=no -P 222" -r --delete web/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifegame + mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh -R + rsync -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' -r --delete web/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifegame