Skip to content

feat(ci): deploy site to cf pages#5435

Open
PoisonPhang wants to merge 8 commits into
mainfrom
deploy-site-to-cf-pages
Open

feat(ci): deploy site to cf pages#5435
PoisonPhang wants to merge 8 commits into
mainfrom
deploy-site-to-cf-pages

chore(site): configure image service

829af68
Select commit
Loading
Failed to load commit list.
Garnix CI / package site [x86_64-linux] failed Feb 24, 2026 in 3m 41s

package site [x86_64-linux]

package site [x86_64-linux] failed

Details

Last 100 lines of logs:

site-0.0.1> node_modules/.pnpm/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/tsx: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/ts-node-transpile-only: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/smartypantsu: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/katex: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/astro-check: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/mkdirp: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/prettier: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/smartypants: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/nopt: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/yaml-language-server: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/ts-node-esm: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/rollup: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/ts-node-cwd: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/astro-seo@0.8.4_prettier-plugin-astro@0.14.1_prettier@3.6.2_typescript@5.9.3/node_modules/astro-seo/node_modules/.bin/astro-check: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@astrojs+svelte@7.2.0_@types+node@22.18.8_astro@5.14.1_@types+node@22.18.8_@vercel+func_a848c0c8ebabbb1bc30beb6854ec504d/node_modules/@astrojs/svelte/node_modules/.bin/astro: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@astrojs+svelte@7.2.0_@types+node@22.18.8_astro@5.14.1_@types+node@22.18.8_@vercel+func_a848c0c8ebabbb1bc30beb6854ec504d/node_modules/@astrojs/svelte/node_modules/.bin/tsc: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@astrojs+svelte@7.2.0_@types+node@22.18.8_astro@5.14.1_@types+node@22.18.8_@vercel+func_a848c0c8ebabbb1bc30beb6854ec504d/node_modules/@astrojs/svelte/node_modules/.bin/tsserver: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@astrojs+svelte@7.2.0_@types+node@22.18.8_astro@5.14.1_@types+node@22.18.8_@vercel+func_a848c0c8ebabbb1bc30beb6854ec504d/node_modules/@astrojs/svelte/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/mime@3.0.0/node_modules/mime/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/miniflare@4.20251118.1_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/miniflare/bootstrap.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/miniflare@4.20251118.1_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/miniflare/node_modules/.bin/workerd: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/miniflare@4.20251118.1_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/miniflare/node_modules/.bin/acorn: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/utf-8-validate@5.0.10/node_modules/utf-8-validate/node_modules/.bin/node-gyp-build: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/utf-8-validate@5.0.10/node_modules/utf-8-validate/node_modules/.bin/node-gyp-build-optional: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/utf-8-validate@5.0.10/node_modules/utf-8-validate/node_modules/.bin/node-gyp-build-test: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@mapbox+node-pre-gyp@2.0.0/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/@mapbox+node-pre-gyp@2.0.0/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@mapbox+node-pre-gyp@2.0.0/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/nopt: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/@cloudflare+kv-asset-handler@0.4.0/node_modules/@cloudflare/kv-asset-handler/node_modules/.bin/mime: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/vscode-languageserver@9.0.1/node_modules/vscode-languageserver/bin/installServerIntoExtension: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/rollup@4.52.4/node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/@astrojs+telemetry@3.3.0/node_modules/@astrojs/telemetry/node_modules/.bin/is-docker: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/bin/prettier.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pkc31cfrm7sjmv3ljwkdfh29g3xxkfd0-nodejs-slim-24.12.0/bin/node"
site-0.0.1> node_modules/.pnpm/@astrojs+yaml2ts@0.2.2/node_modules/@astrojs/yaml2ts/node_modules/.bin/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh"
site-0.0.1> Finished pnpmConfigHook
site-0.0.1> Running phase: buildPhase
site-0.0.1> 
site-0.0.1> > site@0.0.1 build /build/source/site
site-0.0.1> > astro build
site-0.0.1> 
site-0.0.1> [baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
site-0.0.1> 17:47:48 [@astrojs/cloudflare] Enabling sessions with Cloudflare KV with the "SESSION" KV binding.
site-0.0.1> 17:47:48 [@astrojs/cloudflare] If you see the error "Invalid binding `SESSION`" in your build output, you need to add the binding to your wrangler config file.
site-0.0.1> 17:47:49 [vite] Forced re-optimization of dependencies
site-0.0.1> 17:47:49 [content] Syncing content
site-0.0.1> 17:47:49 [WARN] [glob-loader] The base directory "/build/source/site/src/content/blog/" does not exist.
site-0.0.1> 17:47:49 [content] Synced content
site-0.0.1> 17:47:49 [types] Generated 315ms
site-0.0.1> 17:47:49 [build] output: "server"
site-0.0.1> 17:47:49 [build] mode: "server"
site-0.0.1> 17:47:49 [build] directory: /build/source/site/dist/
site-0.0.1> 17:47:49 [build] adapter: @astrojs/cloudflare
site-0.0.1> 17:47:49 [build] Collecting build info...
site-0.0.1> 17:47:49 [build] ✓ Completed in 371ms.
site-0.0.1> 17:47:49 [build] Building server entrypoints...
site-0.0.1> 17:47:50 [ERROR] [vite] ✗ Build failed in 1.14s
site-0.0.1> [NoImageMetadata] [astro:assets:esm] Could not load /build/source/site/src/assets/images/investors/lightshift.png (imported by src/pages/team.astro): Could not process image metadata for `/build/source/site/src/assets/images/investors/lightshift.png`.
site-0.0.1>   Hint:
site-0.0.1>     This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue.
site-0.0.1>   Error reference:
site-0.0.1>     https://docs.astro.build/en/reference/errors/no-image-metadata/
site-0.0.1>   Stack trace:
site-0.0.1>     at imageMetadata (file:///build/source/node_modules/.pnpm/astro@5.14.1_@types+node@22.18.8_@vercel+functions@2.2.13_idb-keyval@6.2.2_jiti@2.6.1_l_b5c3e6d0dff50a7872293144a0c9deba/node_modules/astro/dist/assets/utils/metadata.js:8:11)
site-0.0.1>     at async Object.load (file:///build/source/node_modules/.pnpm/astro@5.14.1_@types+node@22.18.8_@vercel+functions@2.2.13_idb-keyval@6.2.2_jiti@2.6.1_l_b5c3e6d0dff50a7872293144a0c9deba/node_modules/astro/dist/assets/vite-plugin-assets.js:180:33)
site-0.0.1>     at async file:///build/source/node_modules/.pnpm/rollup@4.52.4/node_modules/rollup/dist/es/shared/node-entry.js:21308:33
site-0.0.1> /build/source/site:
site-0.0.1>  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  site@0.0.1 build: `astro build`
site-0.0.1> Exit status 1
error: build of '/nix/store/8m12qxxixd4dj9mmdbdqn6in0isw8lxy-site-0.0.1.drv' on 'ssh-ng://nix-ssh@garnix7' failed: builder for '/nix/store/8m12qxxixd4dj9mmdbdqn6in0isw8lxy-site-0.0.1.drv' failed with exit code 1;
       last 25 log lines:
       > 17:47:49 [vite] Forced re-optimization of dependencies
       > 17:47:49 [content] Syncing content
       > 17:47:49 [WARN] [glob-loader] The base directory "/build/source/site/src/content/blog/" does not exist.
       > 17:47:49 [content] Synced content
       > 17:47:49 [types] Generated 315ms
       > 17:47:49 [build] output: "server"
       > 17:47:49 [build] mode: "server"
       > 17:47:49 [build] directory: /build/source/site/dist/
       > 17:47:49 [build] adapter: @astrojs/cloudflare
       > 17:47:49 [build] Collecting build info...
       > 17:47:49 [build] ✓ Completed in 371ms.
       > 17:47:49 [build] Building server entrypoints...
       > 17:47:50 [ERROR] [vite] ✗ Build failed in 1.14s
       > [NoImageMetadata] [astro:assets:esm] Could not load /build/source/site/src/assets/images/investors/lightshift.png (imported by src/pages/team.astro): Could not process image metadata for `/build/source/site/src/assets/images/investors/lightshift.png`.
       >   Hint:
       >     This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue.
       >   Error reference:
       >     https://docs.astro.build/en/reference/errors/no-image-metadata/
       >   Stack trace:
       >     at imageMetadata (file:///build/source/node_modules/.pnpm/astro@5.14.1_@types+node@22.18.8_@vercel+functions@2.2.13_idb-keyval@6.2.2_jiti@2.6.1_l_b5c3e6d0dff50a7872293144a0c9deba/node_modules/astro/dist/assets/utils/metadata.js:8:11)
       >     at async Object.load (file:///build/source/node_modules/.pnpm/astro@5.14.1_@types+node@22.18.8_@vercel+functions@2.2.13_idb-keyval@6.2.2_jiti@2.6.1_l_b5c3e6d0dff50a7872293144a0c9deba/node_modules/astro/dist/assets/vite-plugin-assets.js:180:33)
       >     at async file:///build/source/node_modules/.pnpm/rollup@4.52.4/node_modules/rollup/dist/es/shared/node-entry.js:21308:33
       > /build/source/site:
       >  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  site@0.0.1 build: `astro build`
       > Exit status 1
       For full logs, run 'nix log /nix/store/8m12qxxixd4dj9mmdbdqn6in0isw8lxy-site-0.0.1.drv'.
error: builder for '/nix/store/8m12qxxixd4dj9mmdbdqn6in0isw8lxy-site-0.0.1.drv' failed with exit code 1