File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,16 +33,21 @@ jobs:
3333 npm run typedoc
3434
3535 # Remove any unnecessary files or directories that might contain symlinks or large files
36- # For example, remove node_modules from 'examples' to avoid copying symlinks
3736 rm -rf examples/node_modules
3837
38+ # Replace symbolic link with actual files
39+ # Remove the symbolic link to dist
40+ rm -f examples/dist
41+ # Copy the actual dist content to examples/dist
42+ cp -r dist examples/dist
43+
3944 # Copy only the required content to the docs folder
4045 mkdir -p docs
4146 cp -r dist/* docs/
4247 cp -r examples docs/
4348
44- # Delete symbolic links under the docs directory.
45- find docs -type l -exec rm {} \;
49+ # Delete any remaining symbolic links under the docs directory
50+ find docs -type l -delete
4651 fi
4752 env :
4853 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments