Update medical.md #465
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: website | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
pip install '.[sphinx]' | |
- name: Build | |
run: | | |
make html | |
# TODO: use @v4 when it comes out | |
# to benefit from symlink-awareness: https://github.com/peaceiris/actions-gh-pages/issues/643 | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _build/html | |
cname: intranet.neuro.polymtl.ca |