[ci rerun-skip] replace pocket interactions dataset with newtab visit… #104
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: "Build docs" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python3.10 -m venv venv/ | |
| venv/bin/python -m pip install -r .script/requirements.txt | |
| venv/bin/python -m pip install lib/metric-config-parser | |
| - name: Build docs | |
| run: | | |
| venv/bin/python .script/generate_docs.py \ | |
| --output_dir=generated_docs/ | |
| cd generated_docs/ | |
| PATH="../venv/bin:$PATH" mkdocs gh-deploy --force \ | |
| -m "[ci skip] Deployed {sha} with MkDocs version: {version}" |