diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 2bef94d..837228b 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,12 +15,6 @@ env: INSTANCE: 'Writerside/tr' ARTIFACT: 'webHelpTR2-all.zip' DOCKER_VERSION: '241.15989' - ALGOLIA_ARTIFACT: 'algolia-indexes-TR.zip' - ALGOLIA_APP_NAME: 'NLAGB2LZHU' - ALGOLIA_INDEX_NAME: 'MY_INDEX' - ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}' - CONFIG_JSON_PRODUCT: 'TR' - CONFIG_JSON_VERSION: '1.0' jobs: build: @@ -83,25 +77,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 - publish-indexes: - needs: [build, test, deploy] - runs-on: ubuntu-latest - container: - image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-3 - steps: - - name: Download artifact - uses: actions/download-artifact@v4 - with: - name: docs - - name: Unzip artifact - run: | - unzip -O UTF-8 -qq '${{ env.ALGOLIA_ARTIFACT }}' -d algolia-indexes - env algolia-key='${{env.ALGOLIA_KEY}}' java -jar /opt/builder/help-publication-agent.jar \ - update-index \ - --application-name '${{env.ALGOLIA_APP_NAME}}' \ - --index-name '${{env.ALGOLIA_INDEX_NAME}}' \ - --product '${{env.CONFIG_JSON_PRODUCT}}' \ - --version '${{env.CONFIG_JSON_VERSION}}' \ - --index-directory algolia-indexes/ \ - 2>&1 | tee algolia-update-index-log.txt \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file