Skip to content

Commit f137d94

Browse files
author
Fr4gm3nt3d_sh
committed
Update .github/workflows/llmcodereview.yml
1 parent 87f6002 commit f137d94

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/llmcodereview.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- "**"
7-
workflow_dispatch: # manual trigger
7+
workflow_dispatch:
88

99
permissions:
1010
contents: write
@@ -96,7 +96,6 @@ jobs:
9696
`;
9797
}
9898
99-
// Add new report link at the top
10099
const button = `<p><a href="./${reportName}">${reportName}</a></p>`;
101100
index = index.replace(
102101
'<div id="reports">',
@@ -115,15 +114,16 @@ jobs:
115114
run: |
116115
git config user.name "gemini-bot"
117116
git config user.email "gemini@actions"
117+
118118
git add report*.html report.html
119119
git commit -m "Add Gemini code report" || echo "No changes to commit"
120120
121-
# Add GitHub Pages repo as remote
121+
# Use the classic PAT token to push
122122
git remote add pages https://x-access-token:${GH_PAGES_PAT}@github.com/Mod-Sauce/mod-sauce.github.io.git
123123
124-
# Fetch main branch or create if missing
124+
# Fetch main branch if it exists, or create orphan branch if repo is empty
125125
git fetch pages main || git checkout --orphan main
126126
git reset pages/main || true
127-
128-
# Push everything to main
127+
128+
# Push changes
129129
git push pages HEAD:main --force

0 commit comments

Comments
 (0)