diff --git a/.github/workflows/publish_site.yml b/.github/workflows/publish_site.yml index 693a712bb99..025c475d13f 100644 --- a/.github/workflows/publish_site.yml +++ b/.github/workflows/publish_site.yml @@ -36,7 +36,7 @@ jobs: run: | sed -i '/^url:/c\url: "https://${{ env.WEBSITE_URL }}"' _config.yml WEBSITE_VERSION=$(cat _config.yml|grep "^opensearch_major_minor_version:"|cut -d ':' -f2| tr -d '[:blank:]') - sed -i '/^baseurl:/c\baseurl: "/docs/$WEBSITE_VERSION"' _config.yml + sed -i '/^baseurl:/c\baseurl: "/docs/${WEBSITE_VERSION}"' _config.yml cat _config.yml|grep -e "^url:" -e "^baseurl:" - run: bundle exec jekyll build --future - uses: actions/upload-artifact@v4