diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 28369a7..fcdfa67 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,6 +47,13 @@ jobs: retention-days: 7 publicar-indexes: + env: + ALGOLIA_APP_NAME: 0K3UBN277V + ALGOLIA_INDEX_NAME: pro2324 + ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }} + ALGOLIA_ARTIFACT: algolia-indexes-PRO.zip + CONFIG_JSON_PRODUCT: PRO + CONFIG_JSON_VERSION: 2023-2024 # Requires the build-job results needs: construir runs-on: ubuntu-latest @@ -54,11 +61,11 @@ jobs: image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2 steps: - - name: Download artifact + - name: Descargar artefacto uses: actions/download-artifact@v3 with: name: algolia-indexes - - name: Unzip artifact + - name: Unzip artefacto 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 \ @@ -71,13 +78,6 @@ jobs: 2>&1 | tee algolia-update-index-log.txt comprobar: - env: - ALGOLIA_APP_NAME: 0K3UBN277V - ALGOLIA_INDEX_NAME: pro2324 - ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }} - ALGOLIA_ARTIFACT: algolia-indexes-PRO.zip - CONFIG_JSON_PRODUCT: PRO - CONFIG_JSON_VERSION: 2023-2024 # Requires build job results needs: construir runs-on: ubuntu-latest