Added workflow for deploying documentation
This does not yet deploy the actual documentation, but it instead deploys the old docs (which are now redirects) to a temporary folder for testing.
This commit is contained in:
parent
891993e39b
commit
fe208f1f86
18
.github/workflows/docs-deploy.yml
vendored
Normal file
18
.github/workflows/docs-deploy.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Documentation Deployment
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
grav:
|
||||||
|
name: Deploy Grav
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: SCP to documentation server
|
||||||
|
uses: appleboy/scp-action@v0.0.1
|
||||||
|
env:
|
||||||
|
USERNAME: ${{ secrets.DOCUMENTATION_SSH_USERNAME }}
|
||||||
|
KEY: ${{ secrets.DOCUMENTATION_SSH_KEY }}
|
||||||
|
HOST: ${{ secrets.DOCUMENTATION_SSH_HOST }}
|
||||||
|
TARGET: "docs/"
|
||||||
|
SOURCE: "docs/"
|
Loading…
Reference in New Issue
Block a user