Add the CAPD example using Sveltos and GitOps (#699) #98
This file contains hidden or 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: CI build main documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.x | |
| - name: Install Dependencies | |
| run: | | |
| pip install mkdocs-material==9.6.23 | |
| pip install mike==2.1.3 | |
| - name: Setup Docs Deploy | |
| run: | | |
| git config --global user.name "Sveltos Docu Deploy" | |
| git config --global user.email "docu@projectsveltos.io" | |
| - name: Build Docs Website | |
| run: | | |
| mike deploy --push main --update-aliases | |
| mike set-default main --push |