workflow
Some checks failed
/ test (push) Successful in 7s
/ publish (push) Has been cancelled

This commit is contained in:
milovann 2024-12-04 12:06:03 +01:00
parent bc07d89940
commit 2d5acc964f
2 changed files with 4 additions and 3 deletions

View file

@ -36,11 +36,12 @@ jobs:
echo "Script" echo "Script"
./web.sh "$file" ./web.sh "$file"
done done
cd .. cd ..
git add . git add .
if git diff-index --quiet HEAD ; then if git diff-index --quiet HEAD ; then
echo Nothing changed, not pushing echo Nothing changed, not pushing
else else
git commit -m 'publish' -a export DEBIAN_FRONTEND=noninteractive ; apt-get -qq update && apt-get install -y --quiet sshpass rsync
git push SSHPASS="${{ secrets.RVBA }}" rsync --rsh='sshpass -e ssh -oStrictHostKeyChecking=no' -av dist/ root@forgeons.org:/var/www/forgeons.org
fi fi

View file

@ -1,4 +1,4 @@
# Forgeons ! # Forgeons !
This is not a test !!!! This is not a test !