Skip to content

Commit 4e60654

Browse files
committed
update gh action for doc build
1 parent 734ecef commit 4e60654

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: docs
44
# execute this workflow automatically when a we push to main
55
on:
66
push:
7-
branches: [ docs_ms ]
7+
branches: [ master ]
88
workflow_dispatch:
99

1010
jobs:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout main
1717
uses: actions/checkout@v3
1818
with:
19-
path: docs_ms
19+
path: master
2020

2121
- name: Checkout gh-pages
2222
uses: actions/checkout@v3
@@ -32,17 +32,17 @@ jobs:
3232

3333
- name: Install dependencies
3434
run: |
35-
cd ./docs_ms
35+
cd ./master
3636
python -m pip install .[docs]
3737
- name: Make the Sphinx docs
3838
run: |
39-
cd ./docs_ms/docsrc
39+
cd ./master/docsrc
4040
make clean
4141
make github
4242
- name: Commit changes to docs
4343
run: |
4444
cd ./gh-pages
45-
cp -R ../docs_ms/docs/* ./
45+
cp -R ../master/docs/* ./
4646
git config --local user.email ""
4747
git config --local user.name "github-actions"
4848
git add -A

0 commit comments

Comments
 (0)