Skip to content

Commit

Permalink
ci(workflows): fixed generate theme readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Nov 12, 2023
1 parent 7cc1485 commit 1450cf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/generate-theme-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,4 @@ jobs:
script: ./scripts/push-theme-readme.sh
env:
CI: true
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
GH_REPO: ${{ secrets.GH_REPO }}
3 changes: 1 addition & 2 deletions scripts/push-theme-readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ git config --global user.email "[email protected]"
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

0 comments on commit 1450cf8

Please sign in to comment.