Skip to content

Commit

Permalink
Merge pull request #1696 from appwrite/revert-1695-ci-improve-search-…
Browse files Browse the repository at this point in the history
…indexing

Revert "ci: improve search indexing"
  • Loading branch information
TorstenDittmann authored Jan 24, 2025
2 parents c84c5f1 + f47a36b commit 39dce04
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Search Index

on:
push:
branches:
- main

jobs:
indexing:
runs-on: ubuntu-latest
name: Indexing
steps:
- uses: actions/checkout@v4
with:
repository: 'meilisearch/scrapix'
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: yarn
- run: yarn start -c "$SCRAPIX_CONFIG"
env:
SCRAPIX_CONFIG: ${{ secrets.SCRAPIX_CONFIG }}
8 changes: 0 additions & 8 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,3 @@ jobs:
echo ${{ secrets.GH_REGISTRY_TOKEN }} | docker login ghcr.io --username ${{ env.REGISTRY_USERNAME }} --password-stdin
docker-compose -f ${{ env.STACK_FILE }} config
env $(cat .env | xargs) docker stack deploy --prune --resolve-image always --with-registry-auth -c ${{ env.STACK_FILE }} ${{ env.REPOSITORY }}
indexing:
needs: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Scrapix
run: docker run --rm --env CRAWLER_CONFIG=${{ secrets.SCRAPIX_CONFIG }} getmeili/scrapix:v0.1.8

0 comments on commit 39dce04

Please sign in to comment.