Skip to content

Commit 406a8e4

Browse files
authored
Update build_and_deploy.yml [build]
1 parent 409573d commit 406a8e4

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ on: [push]
33
jobs:
44
build-and-deploy:
55
runs-on: ubuntu-latest
6-
if: ${{ contains(github.event.head_commit.message, '[build]') }}
6+
if: ${{ contains(github.event.head_commit.message, '[build') }}
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v4
10+
with:
11+
repository: expyriment/expyriment
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
working-directory: expyriment
1016
- name: Set up Python
1117
uses: actions/setup-python@v5
1218
- name: Install dependencies
@@ -15,13 +21,16 @@ jobs:
1521
python -m pip install sphinx numpydoc sphinx-rtd-theme
1622
- name: Install expyriment
1723
run: | # change back to normal install after testing
24+
echo "nothing"
1825
# python -m pip install expyriment
19-
python -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --pre expyriment
26+
#python -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --pre expyriment
2027
- name: Build
2128
run: |
29+
echo "$PWD
2230
cd sphinx
23-
python create_rst_api_reference.py
24-
sphinx-build -b html _build/html
31+
make html
32+
#python create_rst_api_reference.py
33+
#sphinx-build -b html _build/html
2534
cd ..
2635
- name: Deploy
2736
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)