diff --git a/.github/workflows/build-docs-site.yml b/.github/workflows/build-docs-site.yml new file mode 100644 index 00000000..71a351dd --- /dev/null +++ b/.github/workflows/build-docs-site.yml @@ -0,0 +1,18 @@ +# Builds and published Dashy's documentation website +name: Build Docs Site +on: + workflow_dispatch: + push: + branches: [ WEBSITE/docs-site-source ] +jobs: + deploy: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/WEBSITE/docs-site-source' + steps: + - uses: actions/checkout@master + - uses: redkubes/docusaurus-deploy-action@v1 + with: + source-folder: ./ + git-user: ${{ github.actor }} + git-password: ${{ secrets.GITHUB_TOKEN }} + deployment-branch: gh-pages