Commit notifications for all Sup repositories
 help / color / mirror / Atom feed
* [sup-website.git] branch master updated: limit stagit to just master and develop branches
@ 2026-10-31 11:23 Dan Callaghan
  0 siblings, 0 replies; only message in thread
From: Dan Callaghan @ 2026-10-31 11:23 UTC (permalink / raw)
  To: sup-commits

Pushed a commit to branch master:
https://supmua.dev/git/sup-website/commit/798e14042d4cd310beec51573d741a68b80aeeed.html

The following commit(s) were added to refs/heads/master by this push:
     new 798e140  limit stagit to just master and develop branches
798e140 is described below

commit 798e14042d4cd310beec51573d741a68b80aeeed
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 22:01:47 2026 +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.
---
 _plugins/stagit.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_plugins/stagit.rb b/_plugins/stagit.rb
index 5891936..ec4f680 100644
--- 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|

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-31 11:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-31 11:23 [sup-website.git] branch master updated: limit stagit to just master and develop branches Dan Callaghan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox