Skip to content

Commit

Permalink
Add robots.txt to stop crawlers
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoparsec committed Nov 23, 2023
1 parent 9a3d9fb commit 08191b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
run: npm install
- name: Build with aiur
run: npm run aiur
- name: Add robots.txt
run: cp lib/robots.txt dist/robots.txt
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions lib/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /

0 comments on commit 08191b5

Please sign in to comment.