Skip to content

Commit

Permalink
Adds documentation publishing to package release
Browse files Browse the repository at this point in the history
  • Loading branch information
erikhuck committed Apr 18, 2024
1 parent b62943a commit e65b5f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
fetch-tags: true
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.x'
- name: Upgrade pip, install package, install requirements, build docs
run: |
pip install --upgrade pip
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/package_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
install_command: "python3 -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple gpu-tracker==${{ needs.release-version.outputs.version }}"
publish-documentation:
needs: test-test-pypi
uses: ./.github/workflows/documentation.yml

# - name: Publish package to PyPi
# uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit e65b5f6

Please sign in to comment.