workflow
This commit is contained in:
parent
bc07d89940
commit
2d5acc964f
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Forgeons !
|
||||
|
||||
This is not a test !!!!
|
||||
This is not a test !
|
||||
|
||||
|
|
Loading…
Reference in a new issue