krakenw: Fix using default installer and no longer show warning of corrupted Venv when there's none at all #730
Workflow file for this run
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: "Documentation" | |
on: | |
push: { branches: [ "develop" ], tags: [ "*" ] } | |
pull_request: { branches: [ "*" ] } | |
env: | |
COLUMNS: 200 | |
jobs: | |
documentation: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: NiklasRosenstein/slap@gha/install/v1 | |
- run: pipx install kraken-wrapper==0.33.2 | |
- run: pipx install mksync | |
- name: Restore Kraken build cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: build | |
key: build-cache:${{ runner.os }}:${{ hashFiles('.kraken.lock') }} | |
- run: | | |
cd docs | |
for fn in docs/cli/*.md; do mksync -i $fn; done | |
mksync -i docs/changelog.md | |
- run: krakenw run mkdocs.build --no-save | |
- name: Save Kraken build cache | |
uses: actions/cache/save@v4 | |
with: | |
path: build | |
key: build-cache:${{ runner.os }}:${{ hashFiles('.kraken.lock') }} | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: build/docs/mkdocs/_site | |
- name: Deploy to GitHub Pages | |
if: github.ref == 'refs/heads/develop' | |
id: deployment | |
uses: actions/deploy-pages@v4 |