Skip to content

Commit 8274762

Browse files
committed
fix
1 parent eee22f9 commit 8274762

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: deployment
32
on:
43
workflow_dispatch:
@@ -18,35 +17,46 @@ jobs:
1817
with:
1918
python-version: '3.12'
2019

21-
- name: Check python and pip versions
20+
- name: Check Python and pip versions
2221
run: |
2322
python --version
2423
python -m pip --version
2524
python -m pip list
2625
27-
- name: Upgrade build tools
28-
run: python -m pip install --upgrade pip setuptools wheel build setuptools_scm
26+
- name: Clean uninstall and reinstall build tools
27+
run: |
28+
python -m pip uninstall -y setuptools
29+
python -m pip install --upgrade --force-reinstall --no-cache-dir setuptools wheel build setuptools_scm
30+
31+
- name: Install git dependencies explicitly
32+
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+
36+
- name: Build wheel locally for debug
37+
run: |
38+
python -m pip install build
39+
python -m build --wheel --no-isolation .
2940
30-
- name: Installing package
41+
- name: Install your package
3142
run: python -m pip install -e .
3243

33-
- name: Installing Jupyter book
34-
run: pip install -U jupyter-book
44+
- name: Install Jupyter Book
45+
run: python -m pip install -U jupyter-book
3546

36-
- name: Printing log
47+
- name: Print Git status
3748
run: git status
3849

39-
- name: Printing shortlog
50+
- name: Print Git shortlog
4051
run: git log | git shortlog -sn
4152

42-
- name: Build Jupyter book
53+
- name: Build Jupyter Book
4354
run: |
4455
jupyter-book clean ./docs
4556
jupyter-book build ./docs
46-
47-
- name: Deploy book to GitHub pages
57+
58+
- name: Deploy book to GitHub Pages
4859
uses: peaceiris/[email protected]
4960
with:
5061
github_token: ${{ secrets.GITHUB_TOKEN }}
5162
publish_dir: ./docs/_build/html
52-

0 commit comments

Comments
 (0)