workflow
This commit is contained in:
parent
2d5acc964f
commit
155f6afdcb
2 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
apt install -y pandoc
|
apt install -y pandoc
|
||||||
|
export DEBIAN_FRONTEND=noninteractive ; apt-get -qq update && apt-get install -y --quiet sshpass rsync
|
||||||
- name: Install checkout
|
- name: Install checkout
|
||||||
uses: https://github.com/actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -42,6 +43,6 @@ jobs:
|
||||||
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
|
||||||
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
|
SSHPASS="${{ secrets.RVBA }}" rsync --rsh='sshpass -e ssh -oStrictHostKeyChecking=no' -av dist/ root@forgeons.org:/var/www/forgeons.org
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Forgeons !
|
# Forgeons !
|
||||||
|
|
||||||
This is not a test !
|
This is not a test !!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue