Skip to content

Commit e3107f6

Browse files
committed
overhaul deploy environment
1 parent 2baa4da commit e3107f6

File tree

1 file changed

+13
-30
lines changed

1 file changed

+13
-30
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,33 @@
1-
name: deployment
1+
name: deploy-book
22
on:
33
workflow_dispatch:
44

55
jobs:
66
deploy:
7-
runs-on: ubuntu-latest
7+
runs-on:
8+
group: LargerInstance
9+
container:
10+
image: rcpeene/openscope_databook:latest
811

912
steps:
1013
- uses: actions/checkout@v3
1114
with:
1215
fetch-depth: 0
1316
ref: main
1417

15-
- name: Set up Python 3.12
18+
- name: Set up Python
1619
uses: actions/setup-python@v5
1720
with:
18-
python-version: '3.12'
21+
python-version: '3.10.11'
1922

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 .
3225

33-
- name: Install git dependencies explicitly
26+
- name: Install build requirements
3427
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
4831
4932
- name: Build Jupyter Book
5033
run: |

0 commit comments

Comments
 (0)