generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: 🔑 add GitHub App token creation for mkdocs and install mkdocs-mat…
…erial-insiders dependency
- Loading branch information
1 parent
a61a6c7
commit 1fce071
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,21 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: 🔑 Create GitHub App token (mkdocs) | ||
id: mkdocs_token | ||
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1 | ||
with: | ||
app-id: ${{ secrets.MKDOCS_APP_ID }} | ||
private-key: ${{ secrets.MKDOCS_PEM }} | ||
owner: roboflow | ||
repositories: mkdocs-material-insiders | ||
|
||
- name: 🏗️ Install dependencies | ||
run: uv pip install -r pyproject.toml --extra docs | ||
run: | | ||
uv pip install -r pyproject.toml --extra docs | ||
# Install mkdocs-material-insiders using the GitHub App token | ||
uv pip install "git+https://roboflow:${{ steps.mkdocs_token.outputs.token }}@github.com/roboflow/[email protected]#egg=mkdocs-material[imaging]" | ||
- name: 🧪 Test Docs Build | ||
run: uv run mkdocs build --verbose |