Skip to content

Merge pull request #4 from DHI/modelskill #91

Merge pull request #4 from DHI/modelskill

Merge pull request #4 from DHI/modelskill #91

Workflow file for this run

on:
push:
branches:
- main
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build the book
env:
DHI_ALTIMETRY_API_KEY: ${{ secrets.DHI_ALTIMETRY_API_KEY }}
run: |
jupyter-book build mini_book/
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: mini_book/_build/html