Skip to content

Commit 38c7dd5

Browse files
committed
#419: Modify deploy_docs.yml to correctly push documentation (#459)
* #419: modify deploy_docs.yml * #419: add newline * #419: change target branch to test workflow * #419: fix pip install * #419: explicitly install necessary packages * #419: download json files validator * #419: return to original target branch
1 parent 7d72fa8 commit 38c7dd5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/deploy_docs.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@ jobs:
2424
- name: Install Python dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install -r requirements.txt
27+
pip install -e .
2828
pip3 install docutils jinja2 pygments
2929
- name: Clone documentation generator
3030
working-directory: ${{ env.project-directory }}
3131
run: |
3232
git clone https://github.com/mosra/m.css.git
33+
- name: Download JSON_data_files_validator
34+
run: |
35+
lbaf-vt-data-files-validator-loader
3336
- name: Build documentation
3437
working-directory: ${{ env.docs-generator }}
3538
run: |
@@ -43,6 +46,9 @@ jobs:
4346
- name: Deploy docs
4447
uses: JamesIves/github-pages-deploy-action@v4
4548
with:
46-
branch: deploy-doc-site
49+
token: ${{ secrets.GH_PAT }}
50+
branch: master
51+
repository-name: DARMA-tasking/DARMA-tasking.github.io
52+
target-folder: lbaf_docs
4753
folder: ${{ env.docs-output }}
48-
clean: true
54+
clean: true

0 commit comments

Comments
 (0)