Update weekly_README.yaml

This commit is contained in:
Alexandre
2022-04-20 21:54:58 +02:00
committed by GitHub
parent 9af812a18d
commit 9e0cb91bf7

View File

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