Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed May 3, 2023
1 parent 3164d26 commit 6006acf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ else
exit 1
fi

#check if CNAME file is present in ./github/workspace, if so then copy it over to ./public
echo "checking if CNAME file is present in ./github/workspace"
if [ -f ./github/workspace/CNAME ];
then
echo "CNAME file is present"
echo "copying the CNAME file over to ./public"
cp ./github/workspace/CNAME ./public/CNAME
else
echo "CNAME file is not present"
fi

#install pip requirements from requirements.txt
echo "installing pip requirements from requirements.txt"
pip install -r requirements.txt --no-cache-dir
Expand Down

0 comments on commit 6006acf

Please sign in to comment.