From 75ccd9eda950cf571ae21346fb57fc4952594800 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sat, 11 Jul 2026 10:49:45 -0400 Subject: Disable original srht builds, submission page content tweaks --- .builds_disabled/format.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .builds_disabled/format.yml (limited to '.builds_disabled/format.yml') diff --git a/.builds_disabled/format.yml b/.builds_disabled/format.yml new file mode 100644 index 0000000..b6fd808 --- /dev/null +++ b/.builds_disabled/format.yml @@ -0,0 +1,26 @@ +image: alpine/edge +packages: + - yq + - git + - openssh +secrets: + - 5d886ccb-5515-441d-8cc7-0af8892e4022 +sources: + - https://git.sr.ht/~bt/1mb-club +submitter: + git.sr.ht: + enabled: true + allow-refs: + - refs/heads/master +tasks: + - format-sites: | + cd 1mb-club + git checkout master + git log -1 --pretty=format:'%an' | grep -q "Formatting Bot" && exit 0 + git config user.email "bot@1mb.club" + git config user.name "Formatting Bot" + git remote set-url origin git@git.sr.ht:~bt/1mb-club + ssh-keyscan git.sr.ht >> ~/.ssh/known_hosts + yq --inplace 'sort_by(.domain)' _data/sites.yml + sed -i '1!s/- domain:/\n- domain:/g' _data/sites.yml + git diff --quiet || (git commit -am "Fix formatting" && git push origin master) \ No newline at end of file -- cgit v1.3.1