Skip to content

Commit

Permalink
meaningless changes to trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Apr 9, 2024
1 parent 4e2a0ee commit 0afa40a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/substituteMarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for i in $@; do
mark_value=${!mark_name}
if [ -n "${mark_value}" ]; then
echo "Substituted ${mark_name}"
sed -i "s/{{${mark_name}}}/${mark_value}/g" "${PROJECT_FOLDER}/data/${i}.json"
awk -v search="{{${mark_name}}}" -v replacement="${mark_value}" '{gsub(search, replacement)} 1' "${PROJECT_FOLDER}/data/${i}.json" > "${PROJECT_FOLDER}/data/${i}.json.tmp" && mv "${PROJECT_FOLDER}/data/${i}.json.tmp" "${PROJECT_FOLDER}/data/${i}.json"
fi
done
done
1 change: 1 addition & 0 deletions templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@
</div>
</body>
</html>

0 comments on commit 0afa40a

Please sign in to comment.