Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Docs to PR WF #389

Merged
merged 5 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/pytest-docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
name: Build Docs

on:
[release, workflow_dispatch]
push:
branches:
- main
tags:
- "v*"
pull_request:
branches:
- main
release:
types: [published]

jobs:
build:
Expand Down Expand Up @@ -33,8 +42,8 @@ jobs:
run: |
cd docs_rst
make html
- name: Detect changes
if: ${{ !contains(github.ref, 'refs/heads/main') }}
- name: Detect changes on release
if: startsWith(github.head_ref, 'releases/')
id: changes
shell: bash
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
run: pip install build

- name: Publish package
if: contains(github.ref, 'refs/heads/main')
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
user: __token__
Expand Down