wfdb / mimic_wfdb_tutorials

Tutorials on using the MIMIC Waveform Database
https://wfdb.io/mimic_wfdb_tutorials/
26 stars 6 forks source link

Add initial github workflow to build the jupyter book #12

Closed tompollard closed 2 years ago

tompollard commented 2 years ago

This pull request helps to address https://github.com/MIT-LCP/mimic_wfdb_tutorials/issues/10. The workflow should:

  1. attempt to build the book using the content/ folder
  2. raise an error if the book fails to build.

We could consider adding an additional step to the workflow (in a new pull request) to push the new content to the gh-pages branch. This looks something like the command below:

    # Push the book's HTML to github-pages
    - name: GitHub Pages action
      uses: peaceiris/actions-gh-pages@v3.6.1
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        publish_dir: ./_build/html
tompollard commented 2 years ago

@peterhcharlton sorry for the thrash while trying to deal with failing builds. Tests are now passing! Please could you take a look?