Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Build: ruby 3.0, typesense/docsearch-scraper 0.9, github actions v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Mar 31, 2024
1 parent 526fc72 commit f94cc20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
DEPLOY_DIR: _site/
DEPLOY_BRANCH: gh-pages
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Prepare branch
run: |
Expand All @@ -23,7 +23,7 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.0
bundler-cache: true
# If your site is in a subdirectory
# working-directory: ./
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spider-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'qunitjs' }} # skip on forks
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: jquery/hydra-link-checker
ref: v2.0.0
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/typesense.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ jobs:
if: ${{ github.repository_owner == 'qunitjs' }} # skip on forks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Docsearch Scraper
shell: bash
run: |
# 0.6.0.rc1: https://github.com/typesense/typesense-docsearch-scraper/issues/36
docker run \
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_ADMIN_KEY }} \
-e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
-e TYPESENSE_PORT="443" \
-e TYPESENSE_PROTOCOL="https" \
-e CONFIG="$(cat docsearch.config.json | jq -r tostring)" \
typesense/docsearch-scraper:0.6.0.rc2
typesense/docsearch-scraper:0.9.1

0 comments on commit f94cc20

Please sign in to comment.