2019-09-12 04:49:00 +03:00
|
|
|
name: Documentation Deployment
|
|
|
|
|
2019-09-12 06:27:04 +03:00
|
|
|
on: release
|
2019-09-12 04:49:00 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
grav:
|
|
|
|
name: Deploy Grav
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-09-12 06:07:31 +03:00
|
|
|
- name: Copy to documentation server
|
|
|
|
uses: maxheld83/rsync@v0.1.0
|
2019-09-12 04:49:00 +03:00
|
|
|
env:
|
|
|
|
USERNAME: ${{ secrets.DOCUMENTATION_SSH_USERNAME }}
|
2019-09-12 06:07:31 +03:00
|
|
|
SSH_PRIVATE_KEY: ${{ secrets.DOCUMENTATION_SSH_KEY }}
|
|
|
|
HOST_NAME: ${{ secrets.DOCUMENTATION_SSH_HOST }}
|
2019-09-12 06:15:02 +03:00
|
|
|
SSH_PUBLIC_KEY: not-needed
|
2019-09-12 06:12:52 +03:00
|
|
|
HOST_IP: not-needed
|
2019-09-12 06:15:02 +03:00
|
|
|
HOST_FINGERPRINT: not-needed
|
2019-09-12 05:59:11 +03:00
|
|
|
with:
|
2019-09-12 06:07:31 +03:00
|
|
|
args: "docs/ $USERNAME@$HOST_NAME:/var/www/select2-docs/user/"
|