diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index c35e1b1..bf2855a 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: | - rsync -e "ssh -oStrictHostKeyChecking=no -i <(echo ${{ secrets.SERVER_SSH_KEY }})" -avz --delete _site/ deploy@${{ secrets.SERVER_NAME }}:/ + 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 }}:/