diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 14a321c..28369a7 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -13,6 +13,7 @@ env:
ARTIFACT: webHelpPRO2-all.zip
# Writerside docker image version
DOCKER_VERSION: 233.14272
+ ALGOLIA_ARTIFACT: algolia-indexes-PRO.zip
jobs:
construir:
@@ -38,7 +39,45 @@ jobs:
artifacts/report.json
retention-days: 7
+ - name: Upload algolia-indexes
+ uses: actions/upload-artifact@v3
+ with:
+ name: algolia-indexes
+ path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
+ retention-days: 7
+
+ publicar-indexes:
+ # 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
+ uses: actions/download-artifact@v3
+ with:
+ name: algolia-indexes
+ - 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
+
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
diff --git a/docs/cfg/buildprofiles.xml b/docs/cfg/buildprofiles.xml
index 5d2093d..d55d855 100644
--- a/docs/cfg/buildprofiles.xml
+++ b/docs/cfg/buildprofiles.xml
@@ -10,6 +10,11 @@
Repositorio en GitHub
https://github.com/TeenBiscuits/Pro2324
true
+
+ 0K3UBN277V
+ pro2324
+ ${{ secrets.ALGOLIA_KEY }}
+ https://teenbiscuits.github.io/Pro2324/
keymap.xml
diff --git a/docs/topics/Para-Colaboradores.md b/docs/topics/Para-Colaboradores.md
index b35a6e4..5d1d46a 100644
--- a/docs/topics/Para-Colaboradores.md
+++ b/docs/topics/Para-Colaboradores.md
@@ -1,3 +1,5 @@
+
+
# Para Colaboradores