-
Notifications
You must be signed in to change notification settings - Fork 2
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
Ci dev #3
Ci dev #3
Conversation
I'm not certain if this is the correct way to build the docs. Does this need a conf.py like the other repos? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the right approach, we basically take malcolmjs docs and hack it about
.github/workflows/docs.yml
Outdated
- uses: rishabhgupta/split-by@v1 | ||
id: split | ||
with: | ||
string: ${{ github.ref }} | ||
split-by: / | ||
|
||
# Publish docs | ||
- name: Move to versioned directory | ||
# e.g. master or 0.1.2 | ||
run: mv PandABlocks-webcontrol/build/templates "PandABlocks-webcontrol/.github/pages/${{ steps.split.outputs._2 }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a better way to do this:
https://github.com/dls-controls/scanspec/blob/master/.github/workflows/docs.yml#L41-L43
README.rst
Outdated
PandABlocks-webcontrol | ||
====================== | ||
|
||
|code_ci| |license| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need docs_ci badge here
.github/workflows/docs.yml
Outdated
- name: Checkout annotypes | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: dls-controls/annotypes | ||
path: annotypes | ||
|
||
- name: Checkout pymalcolm | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: dls-controls/pymalcolm | ||
path: pymalcolm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might not need these two, I can't remember what make docs looks at...
Adds CI to build the webcontrol zpkg and the docs.