diff --git a/.github/workflows/update-writea.yml b/.github/workflows/update-writea.yml index 4583a2d..97f89cb 100644 --- a/.github/workflows/update-writea.yml +++ b/.github/workflows/update-writea.yml @@ -36,9 +36,8 @@ jobs: [ -d images/ ] && git checkout HEAD -- images/ [ -d themes/ ] && git checkout HEAD -- themes/ [ -f CNAME ] && git checkout HEAD -- CNAME + [ -f README.md ] && git checkout HEAD -- README.md git rm --cached themes/Default.css || true - git rm --cached README.md || true - git rm --cached LICENSE || true - name: Commit changes run: | @@ -48,3 +47,6 @@ jobs: - name: Push changes run: | git push origin main + +permissions: + contents: write \ No newline at end of file