Skip to content

Commit

Permalink
docs: fix workflow yaml syntax (#6955)
Browse files Browse the repository at this point in the history
* docs: fix workflow yaml syntax

* revert missing slash
  • Loading branch information
nopcoder authored Nov 7, 2023
1 parent 085b148 commit 6b8dc5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:

- name: Update robots.txt
working-directory: docs/_site
run: "sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io' robots.txt"
run: |
sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io/' robots.txt
- name: Publish to docs repository
uses: dmnemec/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:

- name: Update robots.txt
working-directory: docs/_site
run: "sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io' robots.txt"
run: |
sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io/' robots.txt
- name: Overlay PR message on each page
working-directory: docs/_site
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:

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

0 comments on commit 6b8dc5f

Please sign in to comment.