23 lines
751 B
YAML
23 lines
751 B
YAML
kind: context
|
|
name: hugo-content-workspace
|
|
version: 1
|
|
description: "Hugo site workspace: clone content + integration repos, auto-commit changes on exit"
|
|
# git access comes from the gitea-ssh-accelerators layer ordered before this
|
|
# one in the composite; the resolver treats `requires:` entries as harness
|
|
# refs (name/vN), so capability names like git-access crash composition.
|
|
requires: []
|
|
provides: [hugo-workspace]
|
|
|
|
scripts:
|
|
init: "./init.sh"
|
|
finalize: "./finalize.sh"
|
|
|
|
env:
|
|
# Injected by dispatcher from task project_id — set as HUGO_CUSTOMER
|
|
HUGO_CUSTOMER: ""
|
|
# Branch to check out in the content repo. Pass via runtime.env in the task.
|
|
HUGO_CONTENT_BRANCH: "staging"
|
|
AGENT_WORKING_DIR: "/workspace/content"
|
|
|
|
secrets_required: []
|