Skip to content

Commit

Permalink
chore(github): add API to readme (name)
Browse files Browse the repository at this point in the history
chore(github): (on)
chore(github): (jobs)
  • Loading branch information
arlac77 committed May 18, 2020
1 parent bbb307d commit 5d017c0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/update_readme_api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: API to readme
'on':
schedule:
- cron: 31 14 * * *
jobs:
update_readme_api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: doc
uses: actions/setup-node@v1
with:
node-version: 14.2.0
- run: npm install
- run: npm run docs
- uses: gr2m/create-or-update-pull-request-action@v1.x
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
with:
path: README.md
title: API
branch: readme-api
commit-message: 'docs(README): sync API'

0 comments on commit 5d017c0

Please sign in to comment.