mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 19:28:35 +01:00
permissions????? hate this
This commit is contained in:
parent
76ce7b7826
commit
3dbdf3fea0
1 changed files with 2 additions and 4 deletions
6
.github/workflows/web.yml
vendored
6
.github/workflows/web.yml
vendored
|
@ -22,9 +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
|
||||||
mkdir ~/.ssh
|
mkdir ~/.ssh && chmod 700 ~/.ssh
|
||||||
echo "Host *" >> ~/.ssh/config
|
echo "Host *" >> ~/.ssh/config && echo "ProxyCommand cloudflared access ssh --hostname %h" >> ~/.ssh/config && && chmod 600 ~/.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