File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : (Dry run) Algolia
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ updateIndices :
8
+ name : (Dry run) Update indices
9
+ if : github.repository == 'github/docs-internal'
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : checkout
13
+ uses : actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
14
+ - uses : actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
15
+ with :
16
+ node-version : 14.x
17
+ - name : cache node modules
18
+ uses : actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe
19
+ with :
20
+ path : ~/.npm
21
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-node-
24
+ - name : npm ci
25
+ run : npm ci
26
+ - name : (Dry run) sync indices
27
+ env :
28
+ ALGOLIA_APPLICATION_ID : ${{ secrets.ALGOLIA_APPLICATION_ID }}
29
+ ALGOLIA_API_KEY : ${{ secrets.ALGOLIA_API_KEY }}
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ run : npm run sync-search-dry-run
You can’t perform that action at this time.
0 commit comments