Skip to content

Update documentation #17

Update documentation

Update documentation #17

Workflow file for this run

name: "Deploy documentation"
on:
push:
branches: [main, "v1.0"]
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