Skip to content

Commit 4b96d8a

Browse files
author
laura-eprosima
committed
Change CI to get the proper branch
Signed-off-by: laura-eprosima <laura@eprosima.com>
1 parent b4221ae commit 4b96d8a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
3131
- name: Build and test the documentation
3232
run: |
33-
READTHEDOCS=True sphinx-build -b html -d build/doctrees docs build/html
34-
READTHEDOCS=True doc8 --max-line-length 200 docs
35-
READTHEDOCS=True sphinx-build -W --keep-going -b spelling -d build/doctrees docs build/spelling
33+
READTHEDOCS=True IS_BRANCH=${{ github.head_ref }} sphinx-build -b html -d build/doctrees docs build/html
34+
READTHEDOCS=True IS_BRANCH=${{ github.head_ref }} doc8 --max-line-length 200 docs
35+
READTHEDOCS=True IS_BRANCH=${{ github.head_ref }} sphinx-build -W --keep-going -b spelling -d build/doctrees docs build/spelling

0 commit comments

Comments
 (0)