Skip to content

Commit

Permalink
docs: update robots.txt with full docs url (#6953)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Nov 7, 2023
1 parent 140eaf0 commit 085b148
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
working-directory: docs
run: bundle exec jekyll build --config _config.yml -d _site/

- name: Update robots.txt
working-directory: docs/_site
run: "sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io' robots.txt"

- name: Publish to docs repository
uses: dmnemec/[email protected]
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
working-directory: docs
run: bundle exec jekyll build --config _config.yml -d _site/ --verbose

- name: Update robots.txt
working-directory: docs/_site
run: "sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io' robots.txt"

- name: Overlay PR message on each page
working-directory: docs/_site
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
working-directory: docs
run: bundle exec jekyll build --config _config.yml -d _site/${{ steps.version.outputs.tag }} -b /${{ steps.version.outputs.tag }}

- name: Update robots.txt
working-directory: docs/_site
run: "sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io' robots.txt"

- name: Update published version
env:
API_TOKEN_GITHUB: ${{ secrets.PERSONAL_TOKEN }}
Expand Down

0 comments on commit 085b148

Please sign in to comment.