Skip to content

Commit

Permalink
Adding nskit install
Browse files Browse the repository at this point in the history
  • Loading branch information
djpugh committed Feb 25, 2024
1 parent e464b3e commit cdab3f3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,17 +483,21 @@ jobs:
name: Install tomli
run: |
pip install tomli
- shell: bash
name: Install docs dependencies
run: |
pip install nskit==${{ steps.get_version.outputs.tag_name }}
- shell: python
name: Install test dependencies
name: Install docs dependencies
run: |
import subprocess, tomli
subprocess.check_call(['pip', 'install']+tomli.load(open('pyproject.toml', 'rb'))['project']['optional-dependencies']['dev-docs'])
- name: Deploy
run: |
git config user.name github-actions
git config user.email [email protected]
mike deploy -u "${{ steps.get_version.outputs.major }}.${{ steps.get_version.outputs.minor}}" latest --config-file docs/mkdocs.yml -p
mike set-default latest --config-file docs/mkdocs.yml
mike deploy -u "${{ steps.get_version.outputs.tag_name }}" latest --config-file docs/mkdocs.yml -p
git checkout gh-pages
git pull origin
git tag docs-${{ steps.get_version.outputs.tag_name }}
Expand Down

0 comments on commit cdab3f3

Please sign in to comment.