From 6fb124801c90a6fa2a0b60fe5c79ac3c8b0729c3 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Sat, 29 Jun 2024 20:22:33 +0000 Subject: [PATCH] Update CI --- .github/workflows/index_on_algolia.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/index_on_algolia.yml b/.github/workflows/index_on_algolia.yml index bfa6688..d286751 100644 --- a/.github/workflows/index_on_algolia.yml +++ b/.github/workflows/index_on_algolia.yml @@ -26,15 +26,24 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt + - name: Clone and build website-v2-docs + run: | + git clone --depth=1 --branch=master https://github.com/boostorg/website-v2-docs.git ../website-v2-docs + cd ../website-v2-docs + ./build.sh + - name: Download and extract boost release archive run: | BOOST_VERSION=$(sed -n 's/.*version: "\(.*\)"/\1/p' config/config.yaml) BOOST_VERSION_MAIN=$(echo $BOOST_VERSION | sed -E 's/([0-9]+)_([0-9]+)_([0-9]+)(.*)/\1.\2.\3/g') - wget --no-verbose https://boostorg.jfrog.io/artifactory/main/release/$BOOST_VERSION_MAIN/source/boost_$BOOST_VERSION.tar.gz + wget --no-verbose https://archives.boost.io/release/$BOOST_VERSION_MAIN/source/boost_$BOOST_VERSION.tar.gz tar -xzf boost_$BOOST_VERSION.tar.gz -C ../ - - name: Extract records - run: python -m gecko.extract_records + - name: Extract learn records + run: python -m gecko.extract_learn_records + + - name: Extract libraries records + run: python -m gecko.extract_libraries_records - name: Check validity of records run: python -m gecko.sanitizer check