Skip to content

Commit

Permalink
fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlp4 committed Jul 31, 2024
1 parent 7ff2a8e commit 78a4b00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/modify_html/add_analytics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ EOF

find $GITHUB_WORKSPACE/build -name 'index.html' -exec sh -c '
for file do
sed "/<\/html>/i $analytics_script" "$file"
sed "/<\/html>/i\\ $analytics_script" "$file"
done
' sh {} +

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/modify_html/add_meta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ EOF

find $GITHUB_WORKSPACE/build -name 'index.html' -exec sh -c '
for file do
sed "/<\/head>/i $metas" "$file"
sed "/<\/head>/i\\ $metas" "$file"
done
' sh {} +

0 comments on commit 78a4b00

Please sign in to comment.