зеркало из https://github.com/github/docs.git
build before algolia sync (#17378)
* build project before syncing indicies * do the same for dry-run
This commit is contained in:
Родитель
1c28c58679
Коммит
dc210512b9
|
@ -21,8 +21,10 @@ jobs:
|
|||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- name: npm ci
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run build scripts
|
||||
run: npm run build
|
||||
- name: (Dry run) sync indices
|
||||
env:
|
||||
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
|
||||
|
|
|
@ -24,8 +24,10 @@ jobs:
|
|||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- name: npm ci
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run build scripts
|
||||
run: npm run build
|
||||
- name: sync indices
|
||||
env:
|
||||
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче