Skip to content

Commit

Permalink
add CNAME to the result of a sphinx HTML build
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf committed Jun 30, 2022
1 parent 1ac17ef commit cba280d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ jobs:
wget https://github.com/nexusformat/code/raw/master/doc/api/NeXusIntern.pdf -O ./build/manual/source/_static/NeXusIntern.pdf
wget https://github.com/nexusformat/code/raw/master/applications/NXtranslate/docs/NXtranslate.pdf -O ./build/manual/source/_static/NXtranslate.pdf
- name: Add CNAME to set custom domain
run: |
echo manual.nexusformat.org > ./build/manual/build/html/CNAME
- name: Build (html) and Commit
uses: sphinx-notes/pages@master
with:
# path to conf.py directory
documentation_path: build/manual/source

- name: Add CNAME to set custom domain
run: |
echo manual.nexusformat.org > ./build/manual/build/html/CNAME
- name: Publish if refs/tags
# remove/comment next line to push right away
if: startsWith(github.ref, 'refs/tags')
Expand Down

0 comments on commit cba280d

Please sign in to comment.