Skip to content

Commit

Permalink
only update doc on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed May 16, 2024
1 parent 2446770 commit 1d6e912
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pytest-docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: Build Docs

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

jobs:
build:
Expand Down Expand Up @@ -34,6 +41,7 @@ jobs:
cd docs_rst
make html
- name: Detect changes
if: ${{ contains(github.ref, 'refs/heads/main') }}
id: changes
shell: bash
run: |
Expand Down

0 comments on commit 1d6e912

Please sign in to comment.