diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml new file mode 100644 index 0000000..1d24ba8 --- /dev/null +++ b/.github/workflows/documentation.yaml @@ -0,0 +1,25 @@ +name: Docs +on: [push, pull_request, workflow_dispatch] +permissions: + contents: write +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - name: Install dependencies + run: | + pip install sphinx sphinx_rtd_theme + pip install sphinx-copybutton + - name: Sphinx build + run: | + sphinx-build doc _build + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + with: + publish_branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: _build/ + force_orphan: true \ No newline at end of file diff --git a/.github/workflows/run_robot_framework_tests.yml b/.github/workflows/run_robot_framework_tests.yml index 70b516d..3b2b444 100644 --- a/.github/workflows/run_robot_framework_tests.yml +++ b/.github/workflows/run_robot_framework_tests.yml @@ -27,7 +27,7 @@ jobs: python-version: '3.10' cache: 'pip' - # Add LEDSA to PYTHONPATH + # Install LEDSA and dependencies - name: Install LEDSA package and dependencies run: pip install .