@@ -37,7 +37,6 @@ jobs:
|
|||||||
yarn install
|
yarn install
|
||||||
yarn docpress:build
|
yarn docpress:build
|
||||||
|
|
||||||
- uses: https://github.com/GuillaumeFalourd/setup-rsync@v1.1
|
|
||||||
- name: deploy docs
|
- name: deploy docs
|
||||||
# only if branch is master
|
# only if branch is master
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
@@ -49,6 +48,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd docs
|
cd docs
|
||||||
|
|
||||||
|
apt update && apt install -y sshpass rsync
|
||||||
|
|
||||||
rsync -rlcgD --perms -i -u -v --stats --progress \
|
rsync -rlcgD --perms -i -u -v --stats --progress \
|
||||||
--delete \
|
--delete \
|
||||||
-e "sshpass -p ${RSYNC_PASS} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p ${RSYNC_PORT}" \
|
-e "sshpass -p ${RSYNC_PASS} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p ${RSYNC_PORT}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user