Skip to content

Merge pull request #5 from bachlab/update-MBIDS #3

Merge pull request #5 from bachlab/update-MBIDS

Merge pull request #5 from bachlab/update-MBIDS #3

Workflow file for this run

name: Deploy M-BIDS documentation
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install documentation dependencies
run: |
python -m pip install --upgrade pip
python -m pip install sphinx sphinx-rtd-theme
- name: Build Sphinx documentation
run: |
make html
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/html
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4