From 5501e13a292315b5c714e4c23cdf98baf351618d Mon Sep 17 00:00:00 2001 From: tomato Date: Sun, 25 May 2025 23:18:22 -0400 Subject: [PATCH] test --- .forgejo/workflows/build.yaml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index c35e1b1..fe1ab3d 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -11,12 +11,19 @@ jobs: steps: - name: Install system dependencies - run: apt update && apt install nodejs rsync -y - - uses: https://code.forgejo.org/actions/checkout@v4 - - name: Install ruby dependencies - run: bundle install - - name: Build site - run: jekyll build --future --config _config.yml - - name: Deploy site + run: apt-get install rsync -y + - name: generating source + run: touch index.html + - name: deploying + run: | + set -x + rsync -e "ssh -oStrictHostKeyChecking=no -i <(echo super secret key)" -avz --delete _site/ deploy@$(echo super secret server name):/ +# run: apt-get update && apt-get install nodejs rsync -y +# - uses: https://code.forgejo.org/actions/checkout@v4 +# - name: Install ruby dependencies +# run: bundle install +# - name: Build site +# run: jekyll build --future --config _config.yml +# - name: Deploy site run: | rsync -e "ssh -oStrictHostKeyChecking=no -i <(echo ${{ secrets.SERVER_SSH_KEY }})" -avz --delete _site/ deploy@${{ secrets.SERVER_NAME }}:/