Skip to content

Commit 4c96bed

Browse files
authored
chore: changing Meilisearch indexing workflow (#70)
* push secret * run container * using pure docker run container * cleanup
1 parent 12d3c83 commit 4c96bed

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/meilisearch.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,9 @@ on:
1010
jobs:
1111
indexing:
1212
runs-on: ubuntu-latest
13-
name: Indexing
13+
name: Meilisearch Indexing
1414
steps:
15-
- uses: actions/checkout@v4
16-
with:
17-
repository: 'meilisearch/scrapix'
18-
19-
- name: Use Node.js
20-
uses: actions/setup-node@v3
21-
with:
22-
node-version: '20.x'
23-
24-
- run: yarn install
25-
26-
- run: yarn start -c "${SCRAPIX_CONFIG}"
27-
env:
28-
SCRAPIX_CONFIG: ${{ secrets.SCRAPIX_CONFIG }}
15+
- name: Pull and run container
16+
run: docker run -e CRAWLER_CONFIG="${CRAWLER_CONFIG}" getmeili/scrapix:v0.1.8
17+
env:
18+
CRAWLER_CONFIG: ${{ secrets.SCRAPIX_CONFIG }}

0 commit comments

Comments
 (0)