Skip to content

Commit

Permalink
Update documentation-ci.yml
Browse files Browse the repository at this point in the history
Set correct privileges on docs/_build directory
  • Loading branch information
gfenoy committed Aug 21, 2023
1 parent cf5f8fe commit 9570a1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/documentation-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,22 @@ jobs:
run: |
docker run --rm -v $(pwd)/docs:/docs sphinxdoc/sphinx:6.2.0 make html ;
ls -ailtr docs/_build/ docs/_build/html ;
sudo touch docs/_build/html/.nojekyll ;
sudo cp docs/_config.yml docs/_build/html/
sudo chown runner:docker -R docs/_build/
touch docs/_build/html/.nojekyll ;
cp docs/_config.yml docs/_build/html/
- name: Build the Documentation using doxygen Docker image
run: |
docker run --rm -v $(pwd)/zoo-project/zoo-kernel:/data hrektts/doxygen doxygen ;
sudo cp -r zoo-project/zoo-kernel/html docs/_build/html/C_API
cp -r zoo-project/zoo-kernel/html docs/_build/html/C_API
- name: Build documentation using JSDoc
run: |
npm install -g jsdoc ;
npm install -g ink-docstrap ;
npm install -g taffydb ;
cd zoo-project/zoo-client/lib/js/wps-client ;
sudo jsdoc *js -R ../../../../../README.md -t /usr/local/lib/node_modules/ink-docstrap/template ;
jsdoc *js -R ../../../../../README.md -t /usr/local/lib/node_modules/ink-docstrap/template ;
cd ../../../../.. ;
sudo cp -r zoo-project/zoo-client/lib/js/wps-client/out docs/_build/html/JS_API
cp -r zoo-project/zoo-client/lib/js/wps-client/out docs/_build/html/JS_API
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit 9570a1c

Please sign in to comment.