Skip to content

Commit 3f84c7c

Browse files
committed
Add ability to sort based on days or users
1 parent 4f1987d commit 3f84c7c

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24-
- name: Create a new GitHub issues report
24+
- name: Create a new GitHub issues report, sorted by days
2525
run: |
26-
python gh_issues.py -s days,user -f -a -n -t index.html
27-
- name: Upload index.html as artifact
26+
python gh_issues.py -s days,user -f -a -n -t report_days.html
27+
- name: Create a new GitHub issues report, sorted by user
28+
run: |
29+
python gh_issues.py -s user,days -f -a -n -t report_user.html
30+
- name: Upload *.html as artifacts
2831
# See https://github.com/actions/upload-pages-artifact
2932
uses: actions/upload-pages-artifact@v3
3033
with:
3134
name: github-pages
32-
path: ./index.html
35+
path: ./*.html
3336
# See https://github.com/actions/deploy-pages
3437
deploy:
3538
runs-on: ubuntu-latest

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
}
1313

1414
.menu {
15+
background-color: lightblue;
1516
padding: 10px 20px;
1617
display: flex;
1718
justify-content: flex-start;

0 commit comments

Comments
 (0)