This commit is contained in:
Ell 2024-01-13 17:04:52 +01:00
parent 908843b84a
commit f984c72192

View file

@ -22,7 +22,7 @@ jobs:
- name: Deploy - name: Deploy
run: | run: |
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
echo "Host * mkdir ~/.ssh && echo "Host *
StrictHostKeyChecking no StrictHostKeyChecking no
ProxyCommand cloudflared access ssh --hostname %h" >> ~/.ssh/config ProxyCommand cloudflared access ssh --hostname %h" >> ~/.ssh/config
echo "${{ secrets.ELLBOT_KEY }}" >> ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa echo "${{ secrets.ELLBOT_KEY }}" >> ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa