Skip to content

Commit

Permalink
Update update_readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mikyll committed Sep 2, 2023
1 parent d07ecfd commit 2a7c79c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
# Update date
date=$(curl -s "https://api.github.com/repos/mikyll/ROQuiz/commits?path=Domande.txt&page=1&per_page=1" | grep -m 1 \"date\" | xargs | cut -f2 -d' ' | cut -f1 -d'T')
echo $date
#sed -i "s|<span id=\"domande\">[0-9]*<\/span>|<span id=\"ultima_modifica\">$date<\/span>|" "$file_readme"
sed -i "s|<span id=\"domande\">[0-9]*<\/span>|<span id=\"ultima_modifica\">$date<\/span>|" "$file_readme"
# Check if there are changes
if [[ -n $(git status -s) ]]
Expand Down

0 comments on commit 2a7c79c

Please sign in to comment.