File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Notion Statuses
2+
3+ on : [push]
4+
5+ jobs :
6+ notion_update_job :
7+ runs-on : ubuntu-latest
8+ name : Update Notion Task
9+ steps :
10+ # To use this repository's private action,
11+ # you must check out the repository
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ - name : Update Notion Task
15+ uses : ./update_notion # Uses an action in the root directory
16+ id : update_notion
17+ with :
18+ NOTION_API_KEY : ${{ secrets.NOTION_API_KEY }}
19+ NOTION_DATABASE_TOKEN : ${{ secrets.NOTION_DATABASE_TOKEN }}
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ async function _updateNotionStatuses (branch) {
4646 } )
4747
4848 const repositoryName = GITHUB_REPOSITORY . split ( '/' ) . pop ( )
49+ console . log ( repositoryName )
4950
5051 // Get most recent commit to branch
5152 const { data } = await octokit . rest . repos . getCommit ( {
You can’t perform that action at this time.
0 commit comments