lumbda/.gitlab-ci.yml
russell@unturf.com ecf0c89de2 www + whitepaper: adopt custom λ mark from MPS, green, 3× wordmark size
Fetched the lumbda-logos artwork from
media.unturf.com/c/fbd3d473-.../lumbda-logos (a MakePostSell product),
applied both flips (vertical + horizontal, = 180°) at bake time so the
PNG ships oriented correctly without any CSS transform dance, and
recolored non-background pixels to brand green (#227842) with alpha
derived from pixel brightness so anti-aliased edges stay smooth.

Two PNG variants ship under whitepaper/diagrams/:
  * lumbda-logo.png        dark ink for print contexts
  * lumbda-logo-green.png  #227842 for web

www/ carries symlinks to both.

Homepage (www/index.html): replaces the CSS-rendered λ with an
<img class="lambda-mark"> element sized 9.6rem — 3× the 3.2rem
wordmark font — stacked below "lumbda." on its own line.

Whitepaper (whitepaper/lumbda-whitepaper.rst): adds the logo as the
first figure above the permacomputer-logo, 24% width, centered.
Regenerated PDF + HTML; embed-images.py base64-inlines the new file
automatically so the HTML stays single-file.

CI (.gitlab-ci.yml): generalizes the symlink resolver from two
explicit `cp -L` calls into a `find www -type l` loop, so every
current and future symlinked asset deploys without per-file CI edits.
2026-04-19 17:32:43 -04:00

22 lines
756 B
YAML

stages:
- deploy
# deploy-www.sh uses rsync -a which preserves symlinks. Several files
# under www/ are symlinks into ../whitepaper/ or other repo paths;
# those would land broken on the proxy. Walk every symlink in www/
# and copy its target in place, so any current or future symlink
# drops into this repo deploys transparently.
deploy:
stage: deploy
tags: ["proxy.uncloseai.com"]
script:
- |
find www -type l | while read link; do
target="${link}.real"
cp -L "$link" "$target"
mv "$target" "$link"
done
- echo "{\"commit\":\"$CI_COMMIT_SHA\",\"ref\":\"$CI_COMMIT_REF_NAME\"}" > www/version.json
- sudo /usr/local/bin/deploy-www.sh lumbda www
rules:
- if: '$CI_COMMIT_REF_NAME == "master"'