aboutsummaryrefslogtreecommitdiff
path: root/.builds/format.yml
diff options
context:
space:
mode:
authorBradley Taunt <git@btxx.org>2026-07-11 10:49:45 -0400
committerBradley Taunt <git@btxx.org>2026-07-11 10:49:45 -0400
commit75ccd9eda950cf571ae21346fb57fc4952594800 (patch)
tree4547a510ee41e9bd3e73821632e9158d8fd5f694 /.builds/format.yml
parentf7adaf72c42a3fdc84c98d0e5ef7f12531d19fd5 (diff)
Disable original srht builds, submission page content tweaks
Diffstat (limited to '.builds/format.yml')
-rw-r--r--.builds/format.yml26
1 files changed, 0 insertions, 26 deletions
diff --git a/.builds/format.yml b/.builds/format.yml
deleted file mode 100644
index b6fd808..0000000
--- a/.builds/format.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-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