From fe208f1f86c5aa9788ceb6aeea585d51967cd3a8 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Wed, 11 Sep 2019 21:49:00 -0400 Subject: [PATCH] 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. --- .github/workflows/docs-deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docs-deploy.yml diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml new file mode 100644 index 00000000..8c6f2fbb --- /dev/null +++ b/.github/workflows/docs-deploy.yml @@ -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/"