From 39de1daa02816f8c02e5615a2baeff75e36f4b58 Mon Sep 17 00:00:00 2001 From: Samuel Kalu Date: Thu, 19 Oct 2023 10:19:44 +0100 Subject: [PATCH] MNT Copy all generated files of the landing page to enable updates (#1280) * add: dep and future warnings * add: copied all the files for the static landing page * add: included html to be copied * fix: efficient copying of generated files * fix: removed blank lines and whitespaces * Update .circleci/config.yml * Update .circleci/config.yml --------- Co-authored-by: Roman Lutz --- .circleci/push_doc.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.circleci/push_doc.sh b/.circleci/push_doc.sh index d98f96a40..03a671c07 100644 --- a/.circleci/push_doc.sh +++ b/.circleci/push_doc.sh @@ -62,9 +62,20 @@ touch .nojekyll # landing page on fairlearn.org if [ "$CIRCLE_BRANCH" = "main" ] then - echo "Copying landing_page.js into js directory" + echo "Copying all the newly generated files for the static landing page" ls $GENERATED_DOC_DIR/.. + # js cp $GENERATED_DOC_DIR/../landing_page.js js/ + # css + cp $GENERATED_DOC_DIR/../landing_page_style.css css/ + # html + cp $GENERATED_DOC_DIR/../index.html . + # fonts + cp $GENERATED_DOC_DIR/../*.ttf fonts/ + # images + cp $GENERATED_DOC_DIR/../*.svg images/ + cp $GENERATED_DOC_DIR/../*.ico images/ + cp $GENERATED_DOC_DIR/../*.jpg images/ fi echo "fairlearn.org" > CNAME