combine some of these

This commit is contained in:
Ell 2024-01-13 17:33:28 +01:00
parent ff6a532095
commit 62aa741988

View file

@ -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