diff --git a/New_College.Api/Dockerfile b/New_College.Api/Dockerfile index 70acccb..318840a 100644 --- a/New_College.Api/Dockerfile +++ b/New_College.Api/Dockerfile @@ -19,7 +19,7 @@ RUN git remote add origin http://$GIT_USERNAME:$GIT_PERSONAL_ACCESS_TOKEN@nas.ji # 启用稀疏检出并指定要拉取的目录 RUN echo "Admin.NET" >> .git/info/sparse-checkout -RUN git pull --depth 1 origin devlop +RUN git pull --depth 1 origin develop RUN git checkout develop # 打印 Git 状态和日志以验证代码拉取情况