Skip to content

Commit

Permalink
add notion secret to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
loukylor committed Dec 17, 2024
1 parent 03c05ce commit 4d6f924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/flyio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Create secrets file
run: |
touch secrets.txt
echo -e "${{secrets.BOT_TOKEN}}" >> secrets.txt
echo -e "${{secrets.BOT_TOKEN}}\n${{secrets.NOTION_SECRET}}" >> secrets.txt
- name: Setup flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
Expand Down
2 changes: 2 additions & 0 deletions TrickFireDiscordBot/RoleSyncer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ private void OnWebhook(HttpListenerRequest request)
}

SyncRoles(page).GetAwaiter().GetResult();

Console.WriteLine(JsonConvert.SerializeObject(page, Formatting.Indented));
}

private async Task SyncRoles(Page notionPage)
Expand Down

0 comments on commit 4d6f924

Please sign in to comment.