no longer storing xp in submitit target to avoid pickling errors #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install '.[dev]' | |
git config --global user.email "defossez@fb.com" | |
git config --global user.name "Alexandre Défossez (autodoc)" | |
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python | |
- name: Reset branch | |
run: | | |
git branch -f gh-pages main | |
git checkout gh-pages | |
- name: Make docs | |
run: | | |
make docs | |
git add -f docs | |
git commit -m docs | |
- name: Push branch | |
run: | | |
git push -f -u origin gh-pages |