File tree 2 files changed +23
-8
lines changed
2 files changed +23
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Search Index
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ indexing :
10
+ runs-on : ubuntu-latest
11
+ name : Indexing
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ with :
15
+ repository : ' meilisearch/scrapix'
16
+ - name : Use Node.js
17
+ uses : actions/setup-node@v3
18
+ with :
19
+ node-version : ' 20.x'
20
+ - run : yarn
21
+ - run : yarn start -c "$SCRAPIX_CONFIG"
22
+ env :
23
+ SCRAPIX_CONFIG : ${{ secrets.SCRAPIX_CONFIG }}
Original file line number Diff line number Diff line change 78
78
echo ${{ secrets.GH_REGISTRY_TOKEN }} | docker login ghcr.io --username ${{ env.REGISTRY_USERNAME }} --password-stdin
79
79
docker-compose -f ${{ env.STACK_FILE }} config
80
80
env $(cat .env | xargs) docker stack deploy --prune --resolve-image always --with-registry-auth -c ${{ env.STACK_FILE }} ${{ env.REPOSITORY }}
81
-
82
- indexing :
83
- needs : deploy
84
- runs-on : ubuntu-latest
85
- steps :
86
- - uses : actions/checkout@v4
87
- - name : Run Scrapix
88
- run : docker run --rm --env CRAWLER_CONFIG=${{ secrets.SCRAPIX_CONFIG }} getmeili/scrapix:v0.1.8
You can’t perform that action at this time.
0 commit comments