using pure docker run container #135
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: meilisearch | |
| on: | |
| workflow_dispatch: {} | |
| workflow_run: | |
| workflows: ["Deploy docs to netlify"] | |
| types: | |
| - completed | |
| push: | |
| branches: | |
| - fix/meilisearch-indexing | |
| jobs: | |
| indexing: | |
| runs-on: ubuntu-latest | |
| name: Indexing | |
| steps: | |
| - name: Pull and run container | |
| run: docker run -e CRAWLER_CONFIG="${CRAWLER_CONFIG}" getmeili/scrapix:v0.1.8 | |
| env: | |
| CRAWLER_CONFIG: ${{ secrets.SCRAPIX_CONFIG }} | |
| # container: | |
| # image: getmeili/scrapix:v0.1.8 | |
| # env: | |
| # CRAWLER_CONFIG: ${{ secrets.SCRAPIX_CONFIG }} | |
| # steps: | |
| # - name: Run default container command | |
| # run: | | |
| # ./start_xvfb_and_run_cmd.sh && yarn start:prod -- -c $CRAWLER_CONFIG \ | |
| # -b /usr/bin/google-chrome --silent |