Skip to content

Commit

Permalink
Refactor entrypoint.sh to copy docs folder to src/data and public/dat…
Browse files Browse the repository at this point in the history
…a directories
  • Loading branch information
cedricdcc committed Feb 3, 2025
1 parent 13e2ac1 commit 5558675
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ then
then
echo "docs folder is present"
echo "copying the docs folder over to ./src/data/docs"
cp -r ./github/workspace/data/docs ./src/data/docs
echo "copying the docs folder over to ./public/data/docs"
cp -r ./github/workspace/data/docs ./public/data/docs
cp -r ./github/workspace/data/docs ./src/data
echo "copying the docs folder over to ./public/data"
cp -r ./github/workspace/data/docs ./public/data
else
echo "docs folder is not present"
fi
Expand Down Expand Up @@ -155,9 +155,6 @@ npm install
echo "npm run build"
npm run build
echo "copying over ./img files to build folder ./build/img"
# do the same for the docs folder
echo "copying over ./docs files to build folder ./build/docs"
cp -r ./src/docs ./build/data/docs

#in the index.html add the following line <link href="./metadata.ttl" rel="describedby" type=" text/turtle"> to the head tag
echo "adding the following line <link href="./metadata.ttl" rel="describedby" type="text/turtle"> to the head tag of the index.html file"
Expand Down

0 comments on commit 5558675

Please sign in to comment.