Skip to content

Commit 036a617

Browse files
authored
robots.txt : added URL to sitemap with static copy (/s/) of the web
Add sitemap URL to robots.txt in GitHub Actions workflow
1 parent eeaf44d commit 036a617

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/toPages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ jobs:
116116
"$url" -o "$hlpdir/$name"
117117
done
118118
119+
echo "Sitemap: https://helpviewer.github.io/s/sitemap.xml" >> robots.txt
120+
119121
- name: Commit and push changes
120122
run: |
121123
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)