diff options
author | Richard van der Hoff <richard@matrix.org> | 2021-06-04 10:41:36 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2021-06-04 10:41:36 +0100 |
commit | f36457dce23b2a6c39715093dac03677af35c29a (patch) | |
tree | a641afcade2ba05606b67507dfbdf70a4dbf0fb1 /.github/workflows/docs.yaml | |
parent | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff) | |
parent | Limit number of events in a replication request (#10118) (diff) | |
download | synapse-f36457dce23b2a6c39715093dac03677af35c29a.tar.xz |
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to '.github/workflows/docs.yaml')
-rw-r--r-- | .github/workflows/docs.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml new file mode 100644 index 0000000000..a746ae6de3 --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,31 @@ +name: Deploy the documentation + +on: + push: + branches: + - develop + + workflow_dispatch: + +jobs: + pages: + name: GitHub Pages + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup mdbook + uses: peaceiris/actions-mdbook@4b5ef36b314c2599664ca107bb8c02412548d79d # v1.1.14 + with: + mdbook-version: '0.4.9' + + - name: Build the documentation + run: mdbook build + + - name: Deploy latest documentation + uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + keep_files: true + publish_dir: ./book + destination_dir: ./develop |