|
1 | | -name: deployment |
| 1 | +name: deploy-book |
2 | 2 | on: |
3 | 3 | workflow_dispatch: |
4 | 4 |
|
5 | 5 | jobs: |
6 | 6 | deploy: |
7 | | - runs-on: ubuntu-latest |
| 7 | + runs-on: |
| 8 | + group: LargerInstance |
| 9 | + container: |
| 10 | + image: rcpeene/openscope_databook:latest |
8 | 11 |
|
9 | 12 | steps: |
10 | 13 | - uses: actions/checkout@v3 |
11 | 14 | with: |
12 | 15 | fetch-depth: 0 |
13 | 16 | ref: main |
14 | 17 |
|
15 | | - - name: Set up Python 3.12 |
| 18 | + - name: Set up Python |
16 | 19 | uses: actions/setup-python@v5 |
17 | 20 | with: |
18 | | - python-version: '3.12' |
| 21 | + python-version: '3.10.11' |
19 | 22 |
|
20 | | - - name: Show Python and pip versions |
21 | | - run: | |
22 | | - python --version |
23 | | - python -m pip --version |
24 | | -
|
25 | | - - name: Uninstall setuptools fully |
26 | | - run: | |
27 | | - python -m pip uninstall -y setuptools |
28 | | -
|
29 | | - - name: Clean install build tools |
30 | | - run: | |
31 | | - python -m pip install --upgrade --force-reinstall --no-cache-dir setuptools wheel build setuptools_scm |
| 23 | + - name: Install your package |
| 24 | + run: pip install -e . |
32 | 25 |
|
33 | | - - name: Install git dependencies explicitly |
| 26 | + - name: Install build requirements |
34 | 27 | run: | |
35 | | - python -m pip install --upgrade --force-reinstall git+https://github.com/sytseng/ndx-harvey-swac |
36 | | - python -m pip install --upgrade --force-reinstall git+https://github.com/AllenInstitute/ophys_nway_matching.git |
37 | | -
|
38 | | - - name: Build wheel explicitly without isolation |
39 | | - run: | |
40 | | - python -m pip install --upgrade build |
41 | | - python -m build --wheel --no-isolation . |
42 | | -
|
43 | | - - name: Install your package editable |
44 | | - run: python -m pip install -e . |
45 | | - |
46 | | - - name: Install Jupyter Book |
47 | | - run: python -m pip install -U jupyter-book |
| 28 | + pip install -r requirements.txt |
| 29 | + pip install markupsafe==2.0.1 |
| 30 | + pip install -U jupyter-book |
48 | 31 |
|
49 | 32 | - name: Build Jupyter Book |
50 | 33 | run: | |
|
0 commit comments