Skip to content

Commit 2baa4da

Browse files
committed
fix
1 parent 8274762 commit 2baa4da

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,41 @@ jobs:
1717
with:
1818
python-version: '3.12'
1919

20-
- name: Check Python and pip versions
20+
- name: Show Python and pip versions
2121
run: |
2222
python --version
2323
python -m pip --version
24-
python -m pip list
2524
26-
- name: Clean uninstall and reinstall build tools
25+
- name: Uninstall setuptools fully
2726
run: |
2827
python -m pip uninstall -y setuptools
28+
29+
- name: Clean install build tools
30+
run: |
2931
python -m pip install --upgrade --force-reinstall --no-cache-dir setuptools wheel build setuptools_scm
3032
3133
- name: Install git dependencies explicitly
3234
run: |
33-
python -m pip install git+https://github.com/sytseng/ndx-harvey-swac
34-
python -m pip install git+https://github.com/AllenInstitute/ophys_nway_matching.git
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
3537
36-
- name: Build wheel locally for debug
38+
- name: Build wheel explicitly without isolation
3739
run: |
38-
python -m pip install build
40+
python -m pip install --upgrade build
3941
python -m build --wheel --no-isolation .
4042
41-
- name: Install your package
43+
- name: Install your package editable
4244
run: python -m pip install -e .
4345

4446
- name: Install Jupyter Book
4547
run: python -m pip install -U jupyter-book
4648

47-
- name: Print Git status
48-
run: git status
49-
50-
- name: Print Git shortlog
51-
run: git log | git shortlog -sn
52-
5349
- name: Build Jupyter Book
5450
run: |
5551
jupyter-book clean ./docs
5652
jupyter-book build ./docs
5753
58-
- name: Deploy book to GitHub Pages
54+
- name: Deploy to GitHub Pages
5955
uses: peaceiris/[email protected]
6056
with:
6157
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)