Skip to content

Commit 24907f7

Browse files
committed
using pure docker run container
1 parent b534e35 commit 24907f7

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/meilisearch.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@ jobs:
1414
indexing:
1515
runs-on: ubuntu-latest
1616
name: Indexing
17-
container:
18-
image: getmeili/scrapix:v0.1.8
19-
env:
20-
CRAWLER_CONFIG: ${{ secrets.SCRAPIX_CONFIG }}
2117
steps:
22-
- name: Run default container command
23-
run: |
24-
./start_xvfb_and_run_cmd.sh && yarn start:prod -- -c $CRAWLER_CONFIG \
25-
-b /usr/bin/google-chrome --silent
18+
- name: Pull and run container
19+
run: docker run -e CRAWLER_CONFIG="${CRAWLER_CONFIG}" getmeili/scrapix:v0.1.8
20+
env:
21+
CRAWLER_CONFIG: ${{ secrets.SCRAPIX_CONFIG }}
22+
# container:
23+
# image: getmeili/scrapix:v0.1.8
24+
# env:
25+
# CRAWLER_CONFIG: ${{ secrets.SCRAPIX_CONFIG }}
26+
# steps:
27+
# - name: Run default container command
28+
# run: |
29+
# ./start_xvfb_and_run_cmd.sh && yarn start:prod -- -c $CRAWLER_CONFIG \
30+
# -b /usr/bin/google-chrome --silent

0 commit comments

Comments
 (0)