Auto-sync: 2026-02-19 07:50:01

This commit is contained in:
Windmill Bot
2026-02-19 07:50:01 +00:00
parent 3b8ddc8f2d
commit f36aad0203
2 changed files with 5 additions and 2 deletions

View File

@@ -52,6 +52,9 @@ if [[ -n $(git status --porcelain) ]]; then
echo -e "${YELLOW}Pushing to Gitea...${NC}"
# リモートURLにトークンが含まれていない場合、プッシュに失敗する可能性がある
# ここでは既存のoriginを使用
git pull --rebase origin main || {
echo -e "${RED}Failed to pull from remote. Trying push anyway...${NC}"
}
git push origin main || {
echo -e "${RED}Failed to push. Need credentials in git remote url or credential helper.${NC}"
echo -e "${YELLOW}Hint: git remote set-url origin https://<token>@gitea.keinafarm.net/...${NC}"