permissions????? hate this

This commit is contained in:
Ell 2024-01-13 17:23:30 +01:00
parent 76ce7b7826
commit 3dbdf3fea0

View file

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