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 workflow for multi-version sphinx docs #61

Merged
merged 18 commits into from
Nov 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
investigate event_name trigger
niksirbi committed Nov 22, 2024
commit 44051382ad0da3e6d1c1277e5f12f34e9cd0b493
4 changes: 4 additions & 0 deletions .github/workflows/docs_build_and_deploy.yml
Original file line number Diff line number Diff line change
@@ -12,6 +12,9 @@ on:
- '*'
pull_request:
workflow_dispatch:
release:
types:
- published

jobs:
linting:
@@ -108,6 +111,7 @@ jobs:
- name: Push the built HTML to gh-pages-test
run: |
# Detect if this is a release or from the main branch
echo "Event name: ${{ github.event_name }}"
if [[ "${{ github.event_name }}" == "release" ]]; then
# Get the tag name without the "refs/tags/" part
version="${GITHUB_REF#refs/*/}"