fix(modal): add git pull when getting branch files (#2399)

This commit is contained in:
NanoCode012
2025-03-11 02:14:41 +07:00
committed by GitHub
parent 5d0f110a3b
commit 4a736986fa

View File

@@ -113,7 +113,7 @@ class ModalCloud(Cloud):
[
# Random id for cache busting of branch commits
f"RUN echo '{str(randint(0, 1000000))}'", # nosec B311
f"RUN cd /workspace/axolotl && git fetch && git checkout {self.config.branch}",
f"RUN cd /workspace/axolotl && git fetch && git checkout {self.config.branch} && git pull",
]
)