Skip to content

Commit

Permalink
[GHA] Upload entire website directory as artifact... again
Browse files Browse the repository at this point in the history
Debugging why the website build step is failing. Also list all the node packages installed
  • Loading branch information
CristianLara committed Feb 6, 2025
1 parent d647643 commit bf3dd79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish_website_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,14 @@ jobs:
name: Run Tutorials
run: |
python scripts/run_tutorials.py -w $(pwd)
- name: Build tutorials
- name: Build website
# the converted tutorials are failing to build in CI but not locally,
# here we upload the converted tutorials to see what's going on.
# here we continue-on-error then upload the converted tutorials to see what's going on.
continue-on-error: true
run: |
python3 scripts/convert_ipynb_to_mdx.py --clean
bash scripts/make_docs.sh -b
- name: Upload tutorials as artifact
uses: actions/upload-artifact@v4
with:
name: tutorials
path: docs/tutorials/
- name: Build website
run: |
bash scripts/make_docs.sh -b
2 changes: 1 addition & 1 deletion scripts/make_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ echo "Getting Docusaurus deps"
echo "-----------------------------------"
cd website || exit
yarn

yarn list

if [[ $INSERT_API_REFS == true ]]; then
echo "-----------------------------------"
Expand Down

0 comments on commit bf3dd79

Please sign in to comment.