try different sed

This commit is contained in:
kjeld Schouten-Lebbing 2021-04-11 15:58:49 +02:00
parent 60ebfdb488
commit 3c38b652b4
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ jobs:
yes | cp -rf index.yaml docs/index.yaml || echo "chart-index copy failed, continuing..."
yes | cp -rf .github/README.md docs/index.md || echo "readme copy failed, continuing..."
sed -i '1s/^/---\nhide:\n - navigation\n - toc\n---\n/' docs/index.md
sed -i 's,<!-- INSERT-DISCORD-WIDGET -->,<iframe src="https://discord.com/widget?id=830763548678291466&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>,g' docs/index.md
sed -i 's~<!-- INSERT-DISCORD-WIDGET -->~<iframe src="https://discord.com/widget?id=830763548678291466&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>~g' docs/index.md
yes | cp -rf .github/CODE_OF_CONDUCT docs/about/code_of_conduct.md || echo "CODE_OF_CONDUCT copy failed, continuing..."
yes | cp -rf .github/CONTRIBUTING docs/development/contributing.md || echo "CONTRIBUTING copy failed, continuing..."
yes | cp -rf LICENSE docs/about/legal/LICENSE.md || echo "license copy failed, continuing..."