Update weekly_README.yaml

This commit is contained in:
Alexandre
2022-04-20 21:59:19 +02:00
committed by GitHub
parent 9d508e4a6f
commit 9b22b5af35

View File

@@ -38,13 +38,13 @@ jobs:
fi
done
# Replace template if change
#if [[ $(stat -c%s "README2.md") == $(stat -c%s "README.md") ]]; then
# echo "no changes"
# rm README2.md
#else
# rm README.md
# mv README2.md README.md
#fi
if [[ $(stat -c%s "README2.md") == $(stat -c%s "README.md") ]]; then
echo "no changes"
rm README2.md
else
rm README.md
mv README2.md README.md
fi
shell: bash
- name: Commit if needed
uses: EndBug/add-and-commit@v9