g0v_slack_rand0m_README.md add link to corpus txt (#32) #39
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 Readme | |
on: | |
push: | |
paths: | |
- 'zh-TW/**' | |
jobs: | |
merge-and-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Use Node.js 12.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- run: node voice-text-tools/text-tools.js -a ./zh-TW | |
- run: npm install mustache | |
- run: node gen-readme.js | |
- name: Commit ReadMe file | |
uses: EndBug/[email protected] | |
with: | |
add: README.md | |
author_email: [email protected] | |
author_name: 摩茲機器狐 | |
message: Automatically update statistic info in README.md via GitHub Actions | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |