Skip to content

Commit 6992788

Browse files
authored
Merge pull request #262 from HackTricks-wiki/fix/robots-txt-upload
Upload robots.txt to S3 root
2 parents 25552f6 + 5482d3d commit 6992788

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build_master.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,9 @@ jobs:
153153
run: |
154154
aws s3 cp ./ads.txt s3://hacktricks-cloud/ads.txt --content-type text/plain --cache-control max-age=300
155155
aws s3 cp ./ads.txt s3://hacktricks-cloud/en/ads.txt --content-type text/plain --cache-control max-age=300
156+
157+
- name: Upload root robots.txt
158+
run: |
159+
aws s3 cp ./src/robots.txt s3://hacktricks-cloud/robots.txt --content-type text/plain --cache-control max-age=300
160+
aws s3 cp ./src/robots.txt s3://hacktricks-cloud/en/robots.txt --content-type text/plain --cache-control max-age=300
156161

0 commit comments

Comments
 (0)