You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/26 20:26:11 UTC
[GitHub] [incubator-nuttx-website] v01d commented on a change in pull request #37: support publishing versioned docs
v01d commented on a change in pull request #37:
URL: https://github.com/apache/incubator-nuttx-website/pull/37#discussion_r531214351
##########
File path: .github/workflows/main.yml
##########
@@ -15,33 +15,38 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - run: |
- git fetch --prune --unshallow
-
- - name: Checkout NuttX Documentation
+ - name: Checkout NuttX repo
uses: actions/checkout@v2
with:
repository: apache/incubator-nuttx
- fetch-depth: 1
ref: master
- path: nuttx/master
+ path: nuttx
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- - name: Generate requirements.txt file
+ - name: Build docs
run: |
- cd nuttx/master/Documentation/
pip3 install pipenv
- pipenv lock -r > requirements.txt
- - uses: ammaraskar/sphinx-action@master
- with:
- docs-folder: "nuttx/master/Documentation/"
+ mkdir -p target/docs
+ cd nuttx/Documentation
+
+ export NUTTX_VERSIONS=$(git tag -l nuttx-10*)
Review comment:
Yep, just trying to fix that, thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org