You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By avoiding a client-side useEffect, we get static content that the
search crawler will be able to index. Then the full-text search can
match on content of the repo descriptions
Repeat of bazel-contrib#180 with fixes
Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,26 @@ jobs:
49
49
run: |
50
50
git checkout ${{ inputs.bcrCommitHash }}
51
51
52
+
- name: Find latest successful run of fetch_repo_metadata workflow
53
+
id: find-run
54
+
env:
55
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
+
run: |
57
+
run_id=$(gh run list \
58
+
--workflow "fetch_repo_metadata.yml" \
59
+
--branch main \
60
+
--json databaseId,status,conclusion \
61
+
--jq 'map(select(.status=="completed" and .conclusion=="success")) | first | .databaseId')
62
+
echo "run_id=$run_id" >> $GITHUB_OUTPUT
63
+
64
+
- name: Download and extract metadata artifact
65
+
env:
66
+
GH_TOKEN: ${{ github.token }}
67
+
run: |
68
+
gh run download ${{ steps.find-run.outputs.run_id }} \
69
+
--name github_metadata \
70
+
--dir data/github_metadata
71
+
52
72
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
0 commit comments