Fix: workflows #14
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: | |
branches: | |
- develop-yml | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
run: npm install js-yaml | |
- name: Run Update Script | |
run: node .github/workflows/convert-yml-to-md.js | |
- name: Commit README.md | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "currenjin" | |
git add README.md | |
git commit -m "<Action> Docs: README.md" | |
git push origin develop-yml |