Skip to content

Commit

Permalink
build before algolia sync (github#17378)
Browse files Browse the repository at this point in the history
* build project before syncing indicies

* do the same for dry-run
  • Loading branch information
vanessayuenn committed Jan 20, 2021
1 parent 1c28c58 commit dc21051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dry-run-sync-algolia-search-indices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/sync-algolia-search-indices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit dc21051

Please sign in to comment.