Skip to content

Commit

Permalink
Fixes to gh-pages generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Feb 4, 2020
1 parent 6cceed8 commit f5a829d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Update generator api
name: Update api docs
on:
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * *'
jobs:
createPullRequest:
runs-on: ubuntu-latest
Expand All @@ -24,20 +24,20 @@ jobs:
git add .
git config --local user.email "[email protected]"
git config --local user.name "Marcelo Shima"
git commit -a -m "Update generator api"
git commit -a -m "Update api docs" || true
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update generator api
commit-message: Update api docs
committer: Marcelo Shima <[email protected]>
author: Marcelo Shima <[email protected]>
title: 'Update generator api'
title: 'Update api docs'
body: |
Update generator api with last master version
Update api docs with master version
labels: automated pr
branch: api-generator
branch: gh-pages-master
path: out
- name: Check outputs
run: |
Expand Down
15 changes: 8 additions & 7 deletions jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
},
"templates": {
"logo": {
"url": "https://raw.githubusercontent.com/yeoman/yeoman.github.io/source/app/assets/img/logo.png",
"width": "127px",
"height": "14px"
"url": "https://raw.githubusercontent.com/yeoman/yeoman.github.io/source/app/assets/img/logo.png",
"width": "127px",
"height": "14px"
},
"name": "Generator",
"footerText": "BSD license Copyright (c) Google"
"footerText": "BSD license Copyright (c) Google",
"default": {
"includeDate": false
}
},
"plugins": [
"plugins/markdown"
]
"plugins": ["plugins/markdown"]
}

0 comments on commit f5a829d

Please sign in to comment.