Skip to content

[IMP] documentation: move script to setup new branch in a dedicated file #3076

[IMP] documentation: move script to setup new branch in a dedicated file

[IMP] documentation: move script to setup new branch in a dedicated file #3076

Workflow file for this run

# On each Pull request against branch documentation,
# build documentation and check that the sphinx build works
name: OpenUpgrade documentation
on:
pull_request:
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- name: Check out OpenUpgrade Documentation
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Requirements Installation
run: |
pip install -r ./requirements.txt
- name: Delete previously generated documentation
run: |
rm -r ./docs/
- name: Restore doc folder and .nojekill file
run: |
mkdir ./docs/
touch ./docs/.nojekyll
- name: OpenUpgrade Docs
run: |
# try to build the documentation
sh ./build_openupgrade_docs