Updates for hls4ml 0.7.0 #15
Workflow file for this run
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: deploy-book | |
# Only run this when the master branch changes | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# This job installs dependencies, build the book, and pushes it to `gh-pages` | |
jobs: | |
deploy-book: | |
runs-on: ubuntu-latest | |
container: jmduarte/hls4ml-tutorial:hls4ml-0.7.0 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the book | |
shell: bash -l {0} | |
run: | | |
jupyter contrib nbextension install --user | |
jupyter nbextension enable --py widgetsnbextension | |
jupyter-book build . | |
- name: GitHub Pages action | |
uses: peaceiris/actions-gh-pages@v3.9.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _build/html | |
force_orphan: true | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |