Commit cbdb6ca1da

cbdb6ca1da8c5183e779059d73edb138e5a48ea8

parent: b173ca4a0a

Verified · cmc

cmc <hello@cleberg.net> · 2026-03-23 16:44 UTC

fix: add ssh config secret to sourcehut build manifest

Layout: unified · split

.build.yml +2 −6
@@ -13,6 +13,7 @@ sources:
13 13
14secrets: 14secrets:
15 - 303fbd30-2970-4d18-b88b-0f6abf822ea5 15 - 303fbd30-2970-4d18-b88b-0f6abf822ea5
16 - 644b1f02-84fb-4929-9fce-f7ad5fa7138f
16 17
17environment: 18environment:
18 ENV: prod 19 ENV: prod
@@ -37,12 +38,7 @@ tasks:
37 uv run python3 -u build.py 38 uv run python3 -u build.py
38 - deploy: | 39 - deploy: |
39 set -euo pipefail 40 set -euo pipefail
40 echo "HOME=$HOME"
41 pwd
42 ls -la ~
43 ls -la ~/.ssh || true
44 find ~ -maxdepth 3 -type f | sort
45 cd cleberg.net 41 cd cleberg.net
46 chmod 600 ~/.ssh/id_rsa 42 chmod 600 ~/.ssh/id_rsa
47 [ -f ~/.ssh/config ] && chmod 600 ~/.ssh/config 43 chmod 600 ~/.ssh/config
48 rsync -r --delete-before .build/ homelab:/var/www/cleberg.net/ 44 rsync -r --delete-before .build/ homelab:/var/www/cleberg.net/