Skip to content

Merge pull request #3914 from ack-bot/olm-bundle-cloudfront-0.0.2 #330

Merge pull request #3914 from ack-bot/olm-bundle-cloudfront-0.0.2

Merge pull request #3914 from ack-bot/olm-bundle-cloudfront-0.0.2 #330

name: "Documentation"
on:
push:
paths:
- docs/**
- mkdocs.yml
- README.md
branches:
- main
workflow_dispatch:
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Generate docs
run: |
pip install mkdocs mkdocs-material pymdown-extensions
# Replace relatives links from root folder to docs folder
# - remove docs/ from links
sed -i -e "s/(docs\//(/g" README.md
mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site