Hero: fix title descender clipping (g); CI: rename PR token var so Gitea's auto GITEA_TOKEN doesn't 401 the branch step
build-and-deploy / build (push) Failing after 11m19s
build-and-deploy / build (push) Failing after 11m19s
This commit is contained in:
@@ -61,8 +61,10 @@ jobs:
|
|||||||
- name: Build & push image
|
- name: Build & push image
|
||||||
run: scripts/build-image.sh push
|
run: scripts/build-image.sh push
|
||||||
|
|
||||||
- name: Open digest-bump PR to home-ops
|
- name: Push digest-bump branch to home-ops
|
||||||
env:
|
env:
|
||||||
HOME_OPS_SSH_KEY: ${{ secrets.HOME_OPS_SSH_KEY }}
|
HOME_OPS_SSH_KEY: ${{ secrets.HOME_OPS_SSH_KEY }}
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
# Optional: set secrets.HOMEOPS_PR_TOKEN to auto-open the PR. Unset = push branch only
|
||||||
|
# (you open+merge the PR — the approval gate). NOT GITEA_TOKEN (Gitea auto-injects that).
|
||||||
|
HOMEOPS_PR_TOKEN: ${{ secrets.HOMEOPS_PR_TOKEN }}
|
||||||
run: scripts/bump-digest.sh
|
run: scripts/bump-digest.sh
|
||||||
|
|||||||
@@ -51,9 +51,11 @@ git push origin "${BRANCH}"
|
|||||||
# --- PR (never auto-merge) -------------------------------------------------
|
# --- PR (never auto-merge) -------------------------------------------------
|
||||||
# Default (least-privilege): just push the branch — Jonathon opens+merges the PR (the approval
|
# Default (least-privilege): just push the branch — Jonathon opens+merges the PR (the approval
|
||||||
# gate + the ArgoCD trigger). Only auto-open a PR if a GITEA_TOKEN is provided.
|
# gate + the ArgoCD trigger). Only auto-open a PR if a GITEA_TOKEN is provided.
|
||||||
if [[ -n "${GITEA_TOKEN:-}" ]]; then
|
# NB: use a dedicated var name (NOT GITEA_TOKEN) — Gitea auto-injects GITEA_TOKEN into every job,
|
||||||
|
# which would wrongly trigger this against the private instance. Default path just pushes the branch.
|
||||||
|
if [[ -n "${HOMEOPS_PR_TOKEN:-}" ]]; then
|
||||||
curl -fsSL -X POST "${GITEA_API}/repos/jwrong96/home-ops/pulls" \
|
curl -fsSL -X POST "${GITEA_API}/repos/jwrong96/home-ops/pulls" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${HOMEOPS_PR_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"head\":\"${BRANCH}\",\"base\":\"main\",\"title\":\"bztmon-site: deploy ${TAG}\",\"body\":\"Automated digest bump.\\n\\nImage: \`${REF}\`\\n\\nMerge to roll out via ArgoCD.\"}"
|
-d "{\"head\":\"${BRANCH}\",\"base\":\"main\",\"title\":\"bztmon-site: deploy ${TAG}\",\"body\":\"Automated digest bump.\\n\\nImage: \`${REF}\`\\n\\nMerge to roll out via ArgoCD.\"}"
|
||||||
echo ">> PR opened for ${BRANCH}"
|
echo ">> PR opened for ${BRANCH}"
|
||||||
|
|||||||
@@ -54,7 +54,11 @@ import { cvAvailable } from "../lib/assets";
|
|||||||
}
|
}
|
||||||
.hero__title {
|
.hero__title {
|
||||||
font-size: var(--step-5);
|
font-size: var(--step-5);
|
||||||
|
line-height: 1.12;
|
||||||
letter-spacing: -0.03em;
|
letter-spacing: -0.03em;
|
||||||
|
/* Extend the paint box below the baseline so background-clip:text doesn't
|
||||||
|
crop glyph descenders (the "g" in Wright). */
|
||||||
|
padding-bottom: 0.14em;
|
||||||
background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 62%, var(--accent)));
|
background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 62%, var(--accent)));
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
|||||||
Reference in New Issue
Block a user