Unverified Commit e39924a5 authored by Patap's avatar Patap Committed by GitHub
Browse files

Update main.yml

parent b31b7918
- name: 'Generate Dashboard' name: Build Dashboard
uses: ky4eryavii-pon4o/issue-dashboard@v1
with: on:
config: | schedule:
title: 'Dashboard' - cron: 0 * * * *
output:
format: html jobs:
filename: 'dashboard.html' build:
sections: runs-on: ubuntu-latest
- title: 'Pull Requests'
widgets: steps:
- type: 'table' - name: Check out repository
title: 'New Pull Requests (This Week)' uses: actions/checkout@v2
issue_query: 'repo:libgit2/libgit2 is:open is:issue created:>{{ date("-7 days") }} sort:created-asc' - name: Check out GitHub Pages branch
token: ${{ github.token }} 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment