Skip to content

Merge pull request #272 from Image-X-Institute/bugfix/marker_translation #321

Merge pull request #272 from Image-X-Institute/bugfix/marker_translation

Merge pull request #272 from Image-X-Institute/bugfix/marker_translation #321

Workflow file for this run

name: build docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Upgrade pip
run: |
python3 -m pip install --upgrade pip
- name: Install dependencies
run: python3 -m pip install -r ./dev_requirements.txt
- name: build sphinx docs
run: |
cd docsrc
make github
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs