From a884de8dd6622e46036d9ee35e2d971246c9a417 Mon Sep 17 00:00:00 2001 From: Rob Simmons Date: Thu, 9 May 2024 16:28:09 -0400 Subject: [PATCH] Also push the publish branch through to github --- .builds/check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.builds/check.yml b/.builds/check.yml index 842f2a2..8b744c0 100644 --- a/.builds/check.yml +++ b/.builds/check.yml @@ -33,12 +33,13 @@ tasks: npm install npm run build - github: | - if [ "$GIT_REF" == "refs/heads/main" ] + if [ "$GIT_REF" == "refs/heads/main" ] || [ "$GIT_REF" == "refs/heads/publish" ] then cd dusa echo "github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" > ~/.ssh/known_hosts git remote add github git@github.com:robsimmons/dusa.git git push github main + git push github publish fi - publish: | if [ "$GIT_REF" == "refs/heads/publish" ]