Skip to content

Commit 5beb77a

Browse files
authored
Download the most recent Search components script version after the site is generated (#208)
to make sure that we include the latest updates from the service
1 parent 14fd03c commit 5beb77a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"homepage": "https://docs.quarkiverse.io",
55
"private": true,
66
"scripts": {
7-
"build": "_SEARCH_SERVICE_HOST='https://search.quarkus.io' antora antora-playbook.yml"
7+
"build": "_SEARCH_SERVICE_HOST='https://search.quarkus.io' antora antora-playbook.yml",
8+
"postbuild": "curl -sSLo build/site/_/js/vendor/search-wc.js https://search.quarkus.io/static/bundle/main.js"
89
},
910
"dependencies": {
1011
"antora": "~3.1.10",

0 commit comments

Comments
 (0)