Skip to content

Commit c246294

Browse files
committed
drop unnecessary step in generate-docs workflow
1 parent a2ffa9b commit c246294

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/generate-docs.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,10 @@ jobs:
7575
source /opt/intel/oneapi/setvars.sh
7676
wget https://github.com/vovkos/doxyrest/releases/download/doxyrest-2.1.2/doxyrest-2.1.2-linux-amd64.tar.xz
7777
tar xf doxyrest-2.1.2-linux-amd64.tar.xz
78-
python scripts/gen_docs.py --doxyrest-root=`pwd`/doxyrest-2.1.2-linux-amd64 --verbose --multiversion || exit 1
78+
python scripts/gen_docs.py --doxyrest-root=`pwd`/doxyrest-2.1.2-linux-amd64 --verbose --multiversion --clean || exit 1
7979
python -c "import dpctl; print(dpctl.__version__)" || exit 1
80-
pushd "$(find _skbuild -name cmake-build)" || exit 1
81-
cmake --build . --target Sphinx || exit 1
82-
mv ../cmake-install/docs/docs ~/docs
80+
mv "$(find _skbuild -type d -path "*/cmake-install/docs/docs" | head -n 1)" ~/docs
8381
git clean -dfx
84-
popd
8582
git reset --hard
8683
- name: Publish docs
8784
if: ${{ !github.event.pull_request && github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)