Update documentation #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Deploy documentation" | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy_documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build Slate documentation | |
run: | | |
docker run --rm \ | |
--name slate \ | |
-v ${{ github.workspace }}/build:/srv/slate/build \ | |
-v ${{ github.workspace }}/documentation:/srv/slate/source \ | |
slatedocs/slate build | |
- name: Deploy documentation to Github Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: build | |
clean: true |