From 14593546681efd6cdc049332745139d14a1e1e31 Mon Sep 17 00:00:00 2001 From: milovann Date: Sat, 14 Dec 2024 21:59:56 +0100 Subject: [PATCH] up --- .forgejo/workflows/publish.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 00ba795..93dd722 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -9,20 +9,14 @@ jobs: apt install -y pandoc export DEBIAN_FRONTEND=noninteractive ; apt-get -qq update && apt-get install -y --quiet sshpass rsync - name: Update website - if: ${{ secrets.WEBTOKEN != '' }} + if: ${{ secrets.RVBA != '' }} run: | - echo "Cloning" - echo ${{ secrets.WEBTOKEN }} git clone https://rvba:${{ secrets.RVBA }}@git.forgeons.org/rvba/web - echo "Cd" cd web - echo "Config" git config user.email "ci@git.forgeons.org" git config user.name "forgeons-web" cd scripts - echo "Script" ./web.sh batch cd .. - echo "Rsync" export DEBIAN_FRONTEND=noninteractive SSHPASS="${{ secrets.RVBA }}" rsync --rsh='sshpass -e ssh -oStrictHostKeyChecking=no' -av --delete dist/ web@forgeons.org:/home/web/forgeons