mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 19:28:35 +01:00
oh no
This commit is contained in:
parent
f984c72192
commit
76ce7b7826
1 changed files with 4 additions and 3 deletions
7
.github/workflows/web.yml
vendored
7
.github/workflows/web.yml
vendored
|
@ -22,8 +22,9 @@ 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
|
||||||
mkdir ~/.ssh && echo "Host *
|
mkdir ~/.ssh
|
||||||
StrictHostKeyChecking no
|
echo "Host *" >> ~/.ssh/config
|
||||||
ProxyCommand cloudflared access ssh --hostname %h" >> ~/.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
|
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
|
rsync -e "ssh -o StrictHostKeyChecking=no -P 222" -r --delete web/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifegame
|
||||||
|
|
Loading…
Reference in a new issue