File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 11
11
PRODUCT : StardustDocs/d
12
12
ARTIFACT : webHelpD2-all.zip
13
13
ALGOLIA_ARTIFACT : algolia-indexes-D.zip
14
+ ALGOLIA_APP_NAME : OHIV241QET
15
+ ALGOLIA_INDEX_NAME : prod_JETBRAINSCOM_HELP
16
+ ALGOLIA_KEY : ${{ secrets.ALGOLIA_KEY }}
17
+ CONFIG_JSON_PRODUCT : Dataframe
18
+ CONFIG_JSON_VERSION : 0.9
14
19
15
20
jobs :
16
21
build-job :
57
62
- name : Deploy to GitHub Pages
58
63
id : deployment
59
64
uses : actions/deploy-pages@v1
65
+
66
+ publish-indexes :
67
+ # Requires the build-job results
68
+ needs : build-job
69
+ runs-on : ubuntu-latest
70
+ container :
71
+ image : registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2
72
+
73
+ steps :
74
+ - uses : actions/checkout@v3
75
+ - uses : actions/download-artifact@v3
76
+ with :
77
+ name : algolia-indexes
78
+ - uses : montudor/action-zip@v1
79
+ with :
80
+ args : unzip -qq algolia-indexes-HP.zip -d algolia-indexes
81
+ - run : |
82
+ env "algolia-key=${{env.ALGOLIA_KEY}}" java -jar /opt/builder/help-publication-agent.jar \
83
+ update-index \
84
+ --application-name ${{env.ALGOLIA_APP_NAME}} \
85
+ --index-name ${{env.ALGOLIA_INDEX_NAME}} \
86
+ --product ${{env.CONFIG_JSON_PRODUCT}} \
87
+ --version ${{env.CONFIG_JSON_VERSION}} \
88
+ --index-directory algolia-indexes/ \
89
+ 2>&1 | tee algolia-update-index-log.txt
Original file line number Diff line number Diff line change 10
10
<config-feedback-support >null</config-feedback-support >
11
11
<config-feedback-url >https://support.jetbrains.com</config-feedback-url >
12
12
<
config-webmaster >
[email protected] </
config-webmaster >
13
+ <config-algolia-id >OHIV241QET</config-algolia-id >
14
+ <config-algolia-index >prod_JETBRAINSCOM_HELP</config-algolia-index >
15
+ <config-algolia-api-key >17f5c6a6e439886860d760d9ce054fd8</config-algolia-api-key >
13
16
<config-search-scopes-provider >https://www.jetbrains.com/search/json/</config-search-scopes-provider >
14
17
<generate-sitemap-url-prefix >https://kotlin.github.io/dataframe/</generate-sitemap-url-prefix >
15
18
</variables >
You can’t perform that action at this time.
0 commit comments