Skip to content

Commit

Permalink
doc不再发布index
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jul 16, 2024
1 parent c902164 commit 07f8f28
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,31 +123,31 @@ jobs:
uses: actions/deploy-pages@v1

# https://www.jetbrains.com/help/writerside/configure-search.html
publish-indexes:
# Requires the build-job results
needs: [build, test]
runs-on: ubuntu-latest
container:
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-3

env:

CONFIG_JSON_VERSION: ${{ fromJSON(needs.build.outputs.config_json).productVersion }}

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=${{secrets.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.INSTANCE_NAME}} \
--version ${{env.CONFIG_JSON_VERSION}} \
--index-directory algolia-indexes/ \
2>&1 | tee algolia-update-index-log.txt
# publish-indexes:
# # Requires the build-job results
# needs: [build, test]
# runs-on: ubuntu-latest
# container:
# image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-3
#
# env:
#
# CONFIG_JSON_VERSION: ${{ fromJSON(needs.build.outputs.config_json).productVersion }}
#
# 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=${{secrets.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.INSTANCE_NAME}} \
# --version ${{env.CONFIG_JSON_VERSION}} \
# --index-directory algolia-indexes/ \
# 2>&1 | tee algolia-update-index-log.txt
4 changes: 2 additions & 2 deletions Writerside/topics/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ implementation 'io.ktor:ktor-client-darwin:$ktor_version'

<warning>

OneBot组件的内容已经迁移合并到了[**核心库手册**](https://simbot.forte.love/component-onebot.html)中!
本站点将不再更新,直接前往[**核心库手册**](https://simbot.forte.love/component-onebot.html)~
OneBot组件的文档内容已经迁移合并到了[**核心库手册**](https://simbot.forte.love/component-onebot.html)中!
本站点将不再更新,直接前往核心库手册的[**OneBot组件**](https://simbot.forte.love/component-onebot.html)部分吧~

</warning>

Expand Down

0 comments on commit 07f8f28

Please sign in to comment.