Skip to content

Commit e0fcb05

Browse files
authored
Update ci.yml
Remove . anchor from index.html
1 parent c79d277 commit e0fcb05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
run: curl -sL https://gist.github.com/HackingGate/9e8169c7645b074b2f40c959ca20d738/raw/3ae3913f308d9cf34962ac3488b5973a2fbe1a95/restore_last_git_modified_time.sh | sh
3232
- name: Generate index.html
3333
run: |
34-
tree -I '.nojekyll|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
34+
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
35+
sed -i "/\>.\</d" index.html
3536
cat github-corner.html >> index.html
3637
sed -i "s/your-url/github.com\/${GH_USER}\/${REPO}/g" index.html
3738
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)