summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 17:33:00 +0800
committereltrac <hi@eltr.ac>2026-04-07 17:33:00 +0800
commitb3c792ff10286615b4bf7d76c35204f971ba5527 (patch)
tree426e3ab9154cd9e6e2b429c9294cedcd06235d51
parent2761362a150e377fc0b6a3e1fc046dfae5d69346 (diff)
[build] specify remote and branch when pulling new changes
-rw-r--r--build.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.clj b/build.clj
index c42ef31e..ff1edea2 100644
--- a/build.clj
+++ b/build.clj
@@ -23,10 +23,10 @@
(defn pull-new-changes []
;; pull from content repository
(println "☠︎ Pulling from content repository...")
- (shell "git" "pull")
+ (shell "git" "pull" "origin" "master")
;; pull from theme repository
(println "☠︎ Pulling from theme repository...")
- (shell {:dir theme-path} "git" "pull"))
+ (shell {:dir theme-path} "git" "pull" "origin" "master"))
(defn build-theme [step]
(println (str "☠︎ " step "-building theme..."))