From 155f6afdcbe10618521c67d29413b9bb9c098a44 Mon Sep 17 00:00:00 2001 From: milovann Date: Wed, 4 Dec 2024 12:09:31 +0100 Subject: [PATCH] workflow --- .forgejo/workflows/publish.yml | 3 ++- pages/index.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index e5b50f0..ae7721d 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -7,6 +7,7 @@ jobs: run: | apt update apt install -y pandoc + export DEBIAN_FRONTEND=noninteractive ; apt-get -qq update && apt-get install -y --quiet sshpass rsync - name: Install checkout uses: https://github.com/actions/checkout@v4 with: @@ -42,6 +43,6 @@ jobs: if git diff-index --quiet HEAD ; then echo Nothing changed, not pushing else - export DEBIAN_FRONTEND=noninteractive ; apt-get -qq update && apt-get install -y --quiet sshpass rsync + export DEBIAN_FRONTEND=noninteractive SSHPASS="${{ secrets.RVBA }}" rsync --rsh='sshpass -e ssh -oStrictHostKeyChecking=no' -av dist/ root@forgeons.org:/var/www/forgeons.org fi diff --git a/pages/index.md b/pages/index.md index eef5a92..734e490 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,4 +1,4 @@ # Forgeons ! -This is not a test ! +This is not a test !!