Skip to content

README.md 자동업데이트 #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

34 changes: 34 additions & 0 deletions .github/workflows/update-README.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: update README.md

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.14.0
uses: actions/setup-node@v3
with:
node-version: 16.14.0
cache: 'npm'
- name: install package
run: npm install
- name: build README.md
run: npm run build
- name: update README.md
run: |
git add .
git config user.name github-actions
git config user.email [email protected]
git commit -m "Automatic Update README.md"
git push
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,4 @@ fabric.properties

# End of https://www.toptal.com/developers/gitignore/api/macos,webstorm
/references/
/package.json
/package-lock.json
/node_modules/
197 changes: 133 additions & 64 deletions README.md

Large diffs are not rendered by default.

Loading