From 6006acfbccbfee750ddb23c30f22ebb2a971eb28 Mon Sep 17 00:00:00 2001 From: cedricd Date: Wed, 3 May 2023 13:50:51 +0200 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 5ac8ab1..5edcbf7 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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