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

Delete main.yml

parent 268bf8ca
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: ky4eryavii-pon4o/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