diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index 0eed558..4324102 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -14,12 +14,11 @@ jobs: uses: https://github.com/ruby/setup-ruby@v1 with: ruby-version: 3.2.2 - bundler-cache: true - name: Build run: cd main && bundle exec jekyll build - 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 "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa + echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' main/_site/. ellbot@ssh.ellpeck.de:/var/www/ellpeck