blog

Source files for chris.bracken.jp
git clone https://git.bracken.jp/blog.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1e3847b897560eab5e7d3c2b6842deaec407a8d6
parent c85afe07d619e25e5f580991aeb719d1baddec48
Author: Chris Bracken <chris@bracken.jp>
Date:   Thu, 12 Aug 2021 18:08:42 -0700

Switch to self-hosted git repos

Switch theme submodule and publish repo URLs to repos hosted at
git.bracken.jp.

Diffstat:
M.gitmodules | 2+-
Mpublish.sh | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitmodules b/.gitmodules @@ -1,3 +1,3 @@ [submodule "themes/mofo"] path = themes/mofo - url = https://github.com/cbracken/hugo-theme-mofo.git + url = git://git.bracken.jp/hugo-theme-mofo.git diff --git a/publish.sh b/publish.sh @@ -1,6 +1,6 @@ #!/bin/sh -PUBLISH_REPO=git@github.com:cbracken/chris.bracken.jp.git +PUBLISH_REPO=git@git.bracken.jp:chris.bracken.jp.git # Returns whether the git repo at path $1 has any uncommitted diffs. has_diffs() { @@ -43,7 +43,7 @@ else if prompt_yn "Commit and publish? "; then git -C public add . git -C public commit -S -m "Publish site" - git -C public push origin main + git -C public push origin master fi fi