Released new version #185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update index page | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**README.md" | |
jobs: | |
update-index-page: | |
runs-on: ubuntu-latest | |
name: Update index page | |
steps: | |
- uses: actions/checkout@master | |
- name: Overwrite the index.md | |
run: | | |
git config user.name "${{ github.event.head_commit.committer.name }}" | |
git config user.email "${{ github.event.head_commit.committer.email }}" | |
git pull origin ${{github.ref}} | |
cp "./README.md" "./docs/index.md" | |
git add . | |
git commit -am "Update" --allow-empty | |
git push |