Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jan 27, 2024
1 parent b988241 commit e9c1c75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
DEPLOY_BASE: /dist-docs/

- name: Deploy (koishi-plugin-docs)
if: ${{ github.repository == 'koishijs/docs' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
Expand All @@ -59,6 +60,7 @@ jobs:
commit_message: '[skip ci] deploy'

- name: Sync (koishi-plugin-docs)
if: ${{ github.repository == 'koishijs/docs' && github.ref == 'refs/heads/main' }}
run: >
curl -L
-X POST
Expand All @@ -68,17 +70,20 @@ jobs:
-d '{"ref":"main"}'
- name: Build
if: ${{ github.repository == 'koishijs/docs' && github.ref == 'refs/heads/main' }}
run: yarn build
env:
MEILISEARCH_HOST: ${{ secrets.MEILISEARCH_HOST }}
MEILISEARCH_READ_KEY: ${{ secrets.MEILISEARCH_READ_KEY }}
MEILISEARCH_WRITE_KEY: ${{ secrets.MEILISEARCH_WRITE_KEY }}

- name: Deploy
if: ${{ github.repository == 'koishijs/docs' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
publish_branch: dist
external_repository: koishi-bot/koishi
publish_branch: pages
publish_dir: .vitepress/dist
force_orphan: true
enable_jekyll: true
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"devDependencies": {
"@cordisjs/vitepress": "^3.2.4",
"@intlify/unplugin-vue-i18n": "^1.5.0",
"@koishijs/components": "^1.5.7",
"@koishijs/core": "^4.16.6",
"@koishijs/components": "^1.5.8",
"@koishijs/core": "^4.16.7",
"@koishijs/dns": "^1.0.1",
"@koishijs/market": "^4.2.3",
"@koishijs/registry": "^7.0.1",
Expand All @@ -25,7 +25,7 @@
"cross-env": "^7.0.3",
"element-plus": "2.4.0",
"esbuild-register": "^3.5.0",
"koishi": "^4.16.6",
"koishi": "^4.16.7",
"markdown-it-mathjax3": "^4.3.2",
"marked-vue": "^1.3.0",
"typescript": "^5.3.2",
Expand Down

0 comments on commit e9c1c75

Please sign in to comment.