21 lines
582 B
YAML
21 lines
582 B
YAML
name: Documentation Deployment
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
grav:
|
|
name: Deploy Grav
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Copy to documentation server
|
|
uses: maxheld83/rsync@v0.1.0
|
|
env:
|
|
USERNAME: ${{ secrets.DOCUMENTATION_SSH_USERNAME }}
|
|
SSH_PRIVATE_KEY: ${{ secrets.DOCUMENTATION_SSH_KEY }}
|
|
SSH_PUBLIC_KEY: not-needed
|
|
HOST_NAME: ${{ secrets.DOCUMENTATION_SSH_HOST }}
|
|
HOST_IP: not-needed
|
|
with:
|
|
args: "docs/ $USERNAME@$HOST_NAME:/var/www/select2-docs/user/"
|