diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 246d78d..e5b50f0 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -36,11 +36,12 @@ jobs: echo "Script" ./web.sh "$file" done + cd .. git add . if git diff-index --quiet HEAD ; then echo Nothing changed, not pushing else - git commit -m 'publish' -a - git push + export DEBIAN_FRONTEND=noninteractive ; apt-get -qq update && apt-get install -y --quiet sshpass rsync + 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 981faa8..eef5a92 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,4 +1,4 @@ # Forgeons ! -This is not a test !!!! +This is not a test !