From a6c1bb4dc66c40baf516397c387ea0f207505a35 Mon Sep 17 00:00:00 2001 From: tomato Date: Sun, 25 May 2025 23:11:50 -0400 Subject: [PATCH] yaml bad --- .forgejo/workflows/build.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 24c3dd9..204fb0a 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -10,13 +10,18 @@ jobs: image: ruby:3.3 steps: - - name: Install node - run: apt update && apt install nodejs -y + - name: Install system dependencies + run: apt update && apt install nodejs rsync -y - uses: https://code.forgejo.org/actions/checkout@v4 - - name: Install dependencies + - 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 }}:/ + run: apt install rsync + run: > + rsync + -e "ssh -oStrictHostKeyChecking=no -i <(echo ${{ secrets.SERVER_SSH_KEY }})" + -avz --delete + _site/ + deploy@${{ secrets.SERVER_NAME }}:/