From c387771a7201817ace4f6c6c2b451c26638f5d6b Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 24 Nov 2023 16:55:37 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 59 ++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 74857fc..222a380 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -127,33 +127,32 @@ jobs: id: deployment uses: actions/deploy-pages@v2 - deploy-indexes: - needs: test - runs-on: ubuntu-latest - if: true = false - timeout-minutes: 3 - - container: - image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2 - - steps: - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: algolia-indexes - - - name: Unzip artifact - uses: montudor/action-zip@v1 - with: - args: unzip -qq ${{ env.ALGOLIA_ARTIFACT }} -d algolia-indexes - - - name: Deploy to Algolia - run: | - 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 +# deploy-indexes: +# needs: test +# runs-on: ubuntu-latest +# timeout-minutes: 3 +# +# container: +# image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2 +# +# steps: +# - name: Download artifact +# uses: actions/download-artifact@v3 +# with: +# name: algolia-indexes +# +# - name: Unzip artifact +# uses: montudor/action-zip@v1 +# with: +# args: unzip -qq ${{ env.ALGOLIA_ARTIFACT }} -d algolia-indexes +# +# - name: Deploy to Algolia +# run: | +# 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