Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Patap
Tumblr-templates
Commits
e39924a5
Unverified
Commit
e39924a5
authored
Oct 23, 2020
by
Patap
Committed by
GitHub
Oct 23, 2020
Browse files
Update main.yml
parent
b31b7918
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/main.yml
View file @
e39924a5
-
name
:
'
Generate
Dashboard'
uses
:
ky4eryavii-pon4o/issue-dashboard@v1
with
:
config
:
|
title: 'Dashboard'
output:
format: html
filename: 'dashboard.html'
sections:
- title: 'Pull Requests'
widgets:
- type: 'table'
title: 'New Pull Requests (This Week)'
issue_query: 'repo:libgit2/libgit2 is:open is:issue created:>{{ date("-7 days") }} sort:created-asc'
token
:
${{ github.token }}
name
:
Build Dashboard
on
:
schedule
:
-
cron
:
0 * * * *
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out repository
uses
:
actions/checkout@v2
-
name
:
Check out GitHub Pages branch
uses
:
actions/checkout@v2
with
:
ref
:
'
gh-pages'
path
:
'
out'
-
name
:
'
Generate
Dashboard'
uses
:
ethomson/issue-dashboard@v1
with
:
config
:
|
title: 'Dashboard'
output:
format: html
filename: 'out/dashboard.html'
sections:
- title: 'Pull Requests'
widgets:
- type: 'table'
title: 'New Pull Requests (This Week)'
issue_query: 'repo:libgit2/libgit2 is:open is:issue created:>{{ date("-7 days") }} sort:created-asc'
token
:
${{ github.token }}
-
name
:
Publish Documentation
run
:
|
git add .
git config user.name 'Dashboard User'
git config user.email 'nobody@nowhere'
git commit -m 'Documentation update' --allow-empty
git push origin gh-pages
working-directory
:
out
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment