Skip to content

Commit f678559

Browse files
committed
Prevent Indexing of Github Pages used as Staging Sites
1 parent be43c86 commit f678559

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
- name: Modify .htaccess (Prevent Indexing)
7676
run: |
7777
if [[ "$BASE_URL" != "https://open-neuromorphic.org/" ]]; then
78+
sudo chmod 666 public/.htaccess # Make file fully writeable.
7879
echo "Header set X-Robots-Tag \"noindex, nofollow\"" >> public/.htaccess
7980
fi
8081

0 commit comments

Comments
 (0)