This commit is contained in:
Ell 2024-01-13 17:13:25 +01:00
parent f984c72192
commit 76ce7b7826

View file

@ -22,8 +22,9 @@ 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 && echo "Host *
StrictHostKeyChecking no
ProxyCommand cloudflared access ssh --hostname %h" >> ~/.ssh/config
mkdir ~/.ssh
echo "Host *" >> ~/.ssh/config
echo "StrictHostKeyChecking no" >> ~/.ssh/config
echo "ProxyCommand cloudflared access ssh --hostname %h" >> ~/.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