:octocat:

This commit is contained in:
smiley
2023-07-11 14:30:28 +02:00
parent 9680e59a39
commit 2b4345e58c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ jobs:
- name: "Build manual"
run: |
cd docs
make
make html
- name: "Publish user manual to branch readthedocs"
uses: JamesIves/github-pages-deploy-action@v4
+2 -2
View File
@@ -15,10 +15,10 @@ import sys
from subprocess import Popen, PIPE
def get_version():
if os.environ.get('READTHEDOCS') == True:
if os.environ.get('READTHEDOCS') == 'True':
return os.environ.get('READTHEDOCS_VERSION')
if os.environ.get('GITHUB_ACTIONS') == True:
if os.environ.get('GITHUB_ACTIONS') == 'True':
return os.environ.get('GITHUB_REF_NAME')
grep = 'git branch | findstr \*' if platform.system() == 'Windows' else 'git branch | grep \*'