{"id":14,"date":"2026-12-01T10:17:00","date_gmt":"2026-12-01T10:17:00","guid":{"rendered":"https:\/\/wp.sys.ap.it\/2026\/12\/building-assets-at-deploy-time\/"},"modified":"2026-12-01T10:17:00","modified_gmt":"2026-12-01T10:17:00","slug":"building-assets-at-deploy-time","status":"publish","type":"post","link":"https:\/\/wptest-prova-pianc.sys.ap.it\/?p=14","title":{"rendered":"Building assets at deploy time"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">With <code>--node-build=\"npm run build\"<\/code> Cipi runs the command in each new release before <code>current<\/code> moves. Here the build only writes <code>assets\/build-info.json<\/code> in the theme \u2014 enough to see on the Deploy status page that it ran, and when.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A build that fails stops the deploy: the site stays on the release it had.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An optional build step runs in the new release before it goes live.<\/p>\n","protected":false},"author":0,"featured_media":8,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,5],"class_list":["post-14","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deploys","tag-cipi","tag-demo"],"_links":{"self":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/media\/8"}],"wp:attachment":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}