Skip to content

Commit

Permalink
Removed unneeded search
Browse files Browse the repository at this point in the history
  • Loading branch information
CommandrMoose committed Apr 24, 2024
1 parent fe5e2db commit 87055c4
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
uses: actions/deploy-pages@v4

0 comments on commit 87055c4

Please sign in to comment.