Skip to content

Commit da6a2d0

Browse files
CopilotHackingGate
andauthored
Fix broken GitHub corner URL in gh-pages (#19)
* Initial plan * Fix broken GitHub corner URL by using github.repository context variable Co-authored-by: HackingGate <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: HackingGate <[email protected]>
1 parent aa77eb4 commit da6a2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
tree -I 'CNAME' -H '.' -L 1 -h -D --timefmt '%Y-%m-%d %H:%M:%S %Z' --noreport --charset utf-8 -T 'Country IP Blocks' -o index.html
6161
sed -i "/\".\"/d" index.html
6262
cat github-corner.html >> index.html
63-
sed -i "s/your-url/github.com\/${GH_USER}\/${REPO}/g" index.html
63+
sed -i "s|your-url|github.com/${{ github.repository }}|g" index.html
6464
- name: Deploy to GitHub Pages
6565
uses: peaceiris/actions-gh-pages@v4
6666
with:

0 commit comments

Comments
 (0)