Skip to content

Commit

Permalink
MNT Copy all generated files of the landing page to enable updates (f…
Browse files Browse the repository at this point in the history
…airlearn#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 <[email protected]>
  • Loading branch information
eskayML and romanlutz authored Oct 19, 2023
1 parent 8f26ccc commit 39de1da
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .circleci/push_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39de1da

Please sign in to comment.