Skip to content

Commit

Permalink
Switch to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Dec 9, 2022
1 parent def3318 commit 8afc2bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

1. Click on the green "Use this template" button at the top to make your own copy of this repository - make sure to choose "Private" visibility, unless you want to make your Notion content visible to the public
2. Create a new repo secret under Settings -> Secrets called `NOTION_TOKEN` with the instructions in [this article](https://archive.ph/b5mgg)
3. Edit `index.js` to add the Notion pages you want to export to the `blocks` array at the top of the file
4. Optional: Edit `index.js` to specify a different export format, time zone or locale
3. Edit `index.ts` to add the Notion pages you want to export to the `blocks` array at the top of the file
4. Optional: Edit `index.ts` to specify a different export format, time zone or locale
5. Optional: Edit `.github/workflows/export-notion-blocks-and-commit.yml` to specify a different schedule (default is once per day)
6. After the `Export Notion Blocks and Commit to Git` workflow has run, your backup will have been committed to your GitHub repo in the `exports` folder! 🙌

Expand Down

0 comments on commit 8afc2bf

Please sign in to comment.