Skip to content

Commit

Permalink
Auto Generate Readme Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Av32000 committed Dec 3, 2024
1 parent b9e4a77 commit 0086d9d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update README

on:
push:
branches:
- main

jobs:
update-readme:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16"

- name: Generate README.md
run: node generateReadme.js

- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "[Auto] Update README.md"

0 comments on commit 0086d9d

Please sign in to comment.