Skip to content

Commit

Permalink
Merge pull request #21 from serlo/patch
Browse files Browse the repository at this point in the history
fix: Automatically generate trello analysis
  • Loading branch information
kulla authored Oct 5, 2023
2 parents 4f47561 + acdcbbf commit 9605e0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,16 @@ jobs:
- name: Export notebooks
run: |
jupyter nbconvert src/Community-Statistik-inkl-Aktivierungsrate.ipynb --execute --to html
jupyter nbconvert src/evaluations/analysis-of-our-trello-board.ipynb --execute --to html
jupyter nbconvert src/analysis-of-our-trello-board.ipynb --execute --to html
env:
JUPYTER_CONFIG_DIR: ./jupyter
TRELLO_API_KEY: ${{ secrets.TRELLO_API_KEY }}
TRELLO_TOKEN: ${{ secrets.TRELLO_TOKEN }}

- name: Prepare public folder
id: folder
run: |
mkdir public
cp src/*.html public
echo "name=public" >> $GITHUB_OUTPUT
- name: Setup Pages
id: pages
Expand All @@ -70,7 +68,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ${{ steps.folder.outputs.name }}
path: public
deploy:
permissions:
pages: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
"cells": [
{
"cell_type": "markdown",
"id": "1d9ddf85",
"id": "78b8c5de",
"metadata": {},
"source": [
"# Table of contents\n",
"\n",
"* [Finished cards per month](#finished-cards-bar)\n",
"\n",
"# Date of last generation"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "526b92c4",
"id": "0fefe4ae",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -347,7 +351,7 @@
"id": "f86a4627",
"metadata": {},
"source": [
"# Finished cards per month"
"# <span id=\"finished-cards-bar\">Finished cards per month</span>"
]
},
{
Expand Down

0 comments on commit 9605e0c

Please sign in to comment.