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