Skip to content

Commit

Permalink
Deploy dev docs - fix sed command (#4221)
Browse files Browse the repository at this point in the history
# Objective

- #3535 introduced deploying docs with an error in sed command

## Solution

- fix sed command
- make the command cross platform
  • Loading branch information
mockersf committed Mar 15, 2022
1 parent e020c57 commit 6ff17ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# - Adds a meta tag that forces Google not to index any page on the site.
- name: Pre-docs-build
run: |
sed -i "s/icon.png/icon-docs-dev.png" src/lib.rs
sed -i.bak "s/icon.png/icon-docs-dev.png/" src/lib.rs
echo "<meta name=\"robots\" content=\"noindex\">" > header.html
- name: Build docs
Expand Down

0 comments on commit 6ff17ea

Please sign in to comment.