remove tutorials and better ToC #242
This file contains hidden or 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: call-deploy-book | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| # If your git repository has the Jupyter Book within some-subfolder next to | |
| # unrelated files, you can make this run only if a file within that specific | |
| # folder (or the workflow file itself) has been modified. | |
| # | |
| paths: | |
| - book/** | |
| - requirements.txt | |
| - .github/workflows/call-deploy-book.yml | |
| workflow_dispatch: | |
| jobs: | |
| check-image-copyright: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install https://github.com/eWaterCycle/copyright-checker/archive/refs/heads/main.zip | |
| - name: Check copyright | |
| run: check-copyright book/ | |
| call-workflow: | |
| needs: check-image-copyright | |
| uses: TeachBooks/deploy-book-workflow/.github/workflows/deploy-book.yml@main | |
| secrets: inherit | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write |