Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/update-README.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ jobs:
run: npm install
- name: build README.md
run: npm run build
- name: get diff
id: get_diff
run: |
git diff --quiet ./README.md || echo "::set-output name=new_changes_exist::true"
- name: update README.md
if: steps.get_diff.outputs.new_changes_exist == 'true'
run: |
git add .
git add ./README.md
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "Automatic Update README.md"
Expand Down