Skip to content

Commit

Permalink
Merge pull request #283 from LinkunGao/major/v2.0.0
Browse files Browse the repository at this point in the history
update algolia action
  • Loading branch information
LinkunGao authored Oct 5, 2023
2 parents 1908fd4 + bd5b77f commit d65f978
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/algolia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
id: algolia_config
run: |
pwd
ls
cd apidocs/
echo "config=$(cat crawlerConfig.json | jq -r tostring)" >> $GITHUB_OUTPUT
- name: Push indices to Algolia
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deploy-api-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ name: Deploy VitePress site to Pages
on:
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
# using the `master` branch as the default branch.
push:
branches: [main]
release:
types: [created]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -68,7 +68,6 @@ jobs:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

steps:
- name: Download artifact
Expand Down
2 changes: 1 addition & 1 deletion apidocs/crawlerConfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"index_name": "copper3d",
"index_name": "copper3d-visualisation",
"start_urls": ["/copper3d_visualisation"],
"rateLimit": 8,
"maxDepth": 10,
Expand Down

0 comments on commit d65f978

Please sign in to comment.