| 1 | name: Website |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [master, test] |
| 6 | pull_request: |
| 7 | branches: [master, test] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
| 13 | - run: sudo apt-get install hunspell hunspell-en-us |
| 14 | - uses: actions/checkout@v2 |
| 15 | - uses: actions/setup-python@v2 |
| 16 | with: |
| 17 | python-version: "3.8" |
| 18 | - run: pip install -U pip wheel setuptools |
| 19 | - run: pip install . -r doc_requirements.txt -r dev_requirements.txt |
| 20 | - run: pip freeze |
| 21 | - run: doit -v2 website |
| 22 | - uses: actions/upload-artifact@v2 |
| 23 | with: |
| 24 | name: Website |
| 25 | path: ./doc/_build |