From 1450cf8fb98ac0d31494d5f672854e3758231c7c Mon Sep 17 00:00:00 2001 From: FajarKim Date: Sun, 12 Nov 2023 14:50:17 +0700 Subject: [PATCH] ci(workflows): fixed generate theme readme --- .github/workflows/generate-theme-doc.yml | 1 - scripts/push-theme-readme.sh | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/generate-theme-doc.yml b/.github/workflows/generate-theme-doc.yml index d66f0ef..48d0c0c 100644 --- a/.github/workflows/generate-theme-doc.yml +++ b/.github/workflows/generate-theme-doc.yml @@ -55,5 +55,4 @@ jobs: script: ./scripts/push-theme-readme.sh env: CI: true - PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} GH_REPO: ${{ secrets.GH_REPO }} diff --git a/scripts/push-theme-readme.sh b/scripts/push-theme-readme.sh index d3a33ac..62172bc 100644 --- a/scripts/push-theme-readme.sh +++ b/scripts/push-theme-readme.sh @@ -7,6 +7,5 @@ git config --global user.email "86386385+FajarKim@users.noreply.github.com" git config --global user.name "Rangga Fajar Oktariansyah" git config --global --add safe.directory ${GITHUB_WORKSPACE} git add --all -git commit --no-verify --message "docs(theme): auto update theme readme" -git remote add master https://${PERSONAL_TOKEN}@github.com/${GH_REPO}.git +git commit --message "docs(theme): auto update theme readme" git push -f