Skip to content

Commit df141fd

Browse files
committed
Add robots.txt for Staging
1 parent 0957ae5 commit df141fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
run: hugo --minify --destination public/prod
3636
- name: Build staging
3737
run: hugo --baseURL=https://staging.cryptomator.org/ --environment=staging --minify --destination public/staging
38+
- name: Add robots.txt for staging
39+
run: 'echo -e "User-agent: *\nDisallow: /" > public/staging/robots.txt'
3840
- name: Upload Prod Pages artifact
3941
uses: actions/upload-pages-artifact@v3
4042
with:

0 commit comments

Comments
 (0)