Switch to using rsync
This commit is contained in:
parent
dea726d065
commit
c95ed1796a
12
.github/workflows/docs-deploy.yml
vendored
12
.github/workflows/docs-deploy.yml
vendored
@ -8,13 +8,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: SCP to documentation server
|
- name: Copy to documentation server
|
||||||
uses: appleboy/scp-action@v0.0.1
|
uses: maxheld83/rsync@v0.1.0
|
||||||
env:
|
env:
|
||||||
USERNAME: ${{ secrets.DOCUMENTATION_SSH_USERNAME }}
|
USERNAME: ${{ secrets.DOCUMENTATION_SSH_USERNAME }}
|
||||||
KEY: ${{ secrets.DOCUMENTATION_SSH_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.DOCUMENTATION_SSH_KEY }}
|
||||||
HOST: ${{ secrets.DOCUMENTATION_SSH_HOST }}
|
HOST_NAME: ${{ secrets.DOCUMENTATION_SSH_HOST }}
|
||||||
TARGET: "/var/www/select2-docs/user"
|
|
||||||
SOURCE: "docs/*"
|
|
||||||
with:
|
with:
|
||||||
args: "--strip.components 1"
|
args: "docs/ $USERNAME@$HOST_NAME:/var/www/select2-docs/user/"
|
||||||
|
Loading…
Reference in New Issue
Block a user