Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 from TeenBiscuits/search
Browse files Browse the repository at this point in the history
Fix Angolia Env
  • Loading branch information
TeenBiscuits authored Jan 29, 2024
2 parents 84e0dcf + 8de0d4a commit f29e9d1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,25 @@ 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
container:
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 \
Expand All @@ -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
Expand Down

0 comments on commit f29e9d1

Please sign in to comment.