Skip to content

Commit 1a68355

Browse files
another typo bites the dust
1 parent 70c9d0a commit 1a68355

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/generate-docs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,17 @@ jobs:
5454
uses: actions/checkout@v2
5555
with:
5656
fetch-depth: 0
57-
- name: Build dpctl & docs
57+
- name: Build dpctl
5858
shell: bash -l {0}
5959
run: |
6060
source /opt/intel/oneapi/setvars.sh
6161
python setup.py develop
6262
python -c "import dpctl; print(dpctl.__version__)"
63+
- name: Build docs
64+
shell: bash -l {0}
65+
run: |
66+
# Ensure that SYCL libraries are on LD_LIBRARY_PATH
67+
source /opt/intel/oneapi/setvars.sh
6368
cd docs
6469
mkdir -p build && cd build && rm -rf *
6570
wget https://github.com/vovkos/doxyrest/releases/download/doxyrest-2.1.2/doxyrest-2.1.2-linux-amd64.tar.xz
@@ -71,17 +76,22 @@ jobs:
7176
cd ..
7277
mv generated_docs/docs ~/docs
7378
git clean -dfx
79+
cd ..
80+
- name: Publish docs
81+
shell: bash -l {0}
82+
run: |
7483
git remote add tokened_docs https://IntelPython:${{ secrets.GITHUB_TOKEN }}@github.com/IntelPython/dpctl.git
7584
git fetch tokened_docs
76-
git checkout --trak tokened_docs/gh-pages
85+
git checkout --track tokened_docs/gh-pages
86+
echo `pwd`
7787
cd master
7888
git rm -rf *
7989
mv ~/docs/* .
8090
git add .
8191
git config --global user.name 'github-actions[doc-deploy-bot]'
8292
git config --gloabl user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'
8393
git commit -m "Latest docs."
84-
git push tokened_docs gh_pages
94+
git push tokened_docs gh-pages
8595
# - name: Deploy docs
8696
# uses: peaceiris/actions-gh-pages@v3
8797
# with:

0 commit comments

Comments
 (0)