Skip to content

Commit

Permalink
Update auto-sync-usercount.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored Mar 4, 2024
1 parent b4deaf9 commit eda336c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-sync-usercount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
run: |
cd ${{ github.workspace }}/adamlui/chatgpt-widescreen
total_users=$(echo ${{ steps.get-users.outputs.total_users }})
sed -i "s/\(badge\/[^-]*-\)[0-9.,km+]\+-/\1$total_users-/g" $(find docs/ -name "README.md")
sed -i "s/\(badge\/[^-]*-\)[0-9.,km+]\+-/\1$total_users-/Ig" $(find docs/ -name "README.md")
if [ $? -eq 0 ] ; then echo "Usercount shields updated to $total_users"
else echo "Usercount shields up-to-date already" ; fi
Expand Down

0 comments on commit eda336c

Please sign in to comment.