forked from efforting.tech/gitea.efforting.tech
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
# Experiment 01 — rsync publish configuration
|
|
|
|
# Host directory where secrets are stored
|
|
secrets_base: /srv/ci-secrets
|
|
|
|
# Gitea API base URL — used to verify literal commit shas
|
|
gitea_api_base: https://gitea.efforting.tech/api/v1
|
|
|
|
# CI user — scopes secrets and worktree volumes
|
|
user: mikael-lovqvist
|
|
|
|
# Checkout container — clones one or more repositories
|
|
checkout:
|
|
repositories:
|
|
- repo_url: git@git.efforting.tech:mikael-lovqvist/websperiments.git
|
|
revision: main
|
|
mutable: true # true = re-checkout every run; false = checkout once and reuse
|
|
key: websperiments-deploy # references git-ssh/<user>/private/<key>
|
|
submodules: false
|
|
# name: custom-name # optional — overrides the default mount name (repo basename)
|
|
|
|
# Task container — runs the actual job
|
|
task:
|
|
image: ci-rsync
|
|
# Secrets to mount into the task container (empty for this task —
|
|
# rsync deploys to a local bind mount and needs no credentials)
|
|
secrets: []
|
|
deploy_target: /srv/sites.efforting.tech
|