Skip to content

Fix: workflows

Fix: workflows #14

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