commit 798e14042d4cd310beec51573d741a68b80aeeed
parent e2cd2203f47a90c3018835fdd339968371bcef4a
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 31 Oct 2026 22:01:47 +1100
limit stagit to just master and develop branches
Ensures that random crappy development branches in my sup clone do not
get published on the web site.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_plugins/stagit.rb b/_plugins/stagit.rb
@@ -58,7 +58,7 @@ Jekyll::Hooks.register :site, :post_write do |site|
Jekyll.logger.info "Stagit:", "Processing #{repo}"
FileUtils.mkdir_p dest
- system "cd #{dest} && stagit -u https://supmua.dev/git/#{repo}/ /home/dan/src/#{repo}" or raise "stagit failed"
+ system "cd #{dest} && stagit -b master:develop -u https://supmua.dev/git/#{repo}/ /home/dan/src/#{repo}" or raise "stagit failed"
## Munge stagit generate files to fit the rest of the site
Dir.glob "#{dest}/**/*.html", File::FNM_DOTMATCH do |path|