Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
milespetrov committed Sep 4, 2024
1 parent 8b94a73 commit 88d76cd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/demo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ jobs:
git checkout $BRANCH_OR_TAG_NAME
git checkout -b temp-$BRANCH_OR_TAG_NAME
# Create a subfolder and checkout demo-page's content
mkdir -p demo-folder/$BRANCH_OR_TAG_NAME/docs
git --work-tree=demo-folder checkout demo-page -- . || true
# Modify and commit changes
Expand Down Expand Up @@ -93,7 +91,10 @@ jobs:
BRANCH_OR_TAG_NAME=${BRANCH_OR_TAG_NAME#refs/tags/}
# Remove the existing demo if it exists
rm -rf demo-folder/$BRANCH_OR_TAG_NAME || true
rm -rf demo-folder/$BRANCH_OR_TAG_NAME
# Create a subfolder and checkout demo-page's content
mkdir -p demo-folder/$BRANCH_OR_TAG_NAME/docs
npm run ts-docs:generate
npm run vite-docs:generate
Expand All @@ -102,7 +103,8 @@ jobs:
mv dist demo-folder/$BRANCH_OR_TAG_NAME
mv vite-docs demo-folder/$BRANCH_OR_TAG_NAME/docs
mv ts-docs demo-folder/$BRANCH_OR_TAG_NAME/docs/api-tech-docs
rm -rf node_modules
find . -mindepth 1 -maxdepth 1 ! -name 'demo-folder' -exec rm -rf {} +
git add demo-folder
git commit -m "Modified contents of demo-page within demo-folder"
Expand All @@ -113,7 +115,7 @@ jobs:
git checkout temp-$BRANCH_OR_TAG_NAME -- demo-folder
mv demo-folder/* .
rmdir demo-folder
rm -rf demo-folder
- name: Consolidate docsite files
run: |
Expand Down

0 comments on commit 88d76cd

Please sign in to comment.