Skip to content

Commit cb62438

Browse files
authored
Merge pull request #19 from hbhargava7/main
Add instruction to give Actions workflow permission to write to the repository
2 parents 1e29f61 + 467bcfc commit cb62438

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ This assumes you are looking to set this up to back up Notion to GitHub.
2121
2. Get the `NOTION_TOKEN` and `NOTION_SPACE_ID` as explained in
2222
[this blog post](https://medium.com/@arturburtsev/automated-notion-backups-f6af4edc298d).
2323
3. Set them as secrets in your GitHub repo.
24-
4. Install the following under `.github/workflows/whatever.yml` in your repo.
25-
5. Configure the frequency by changing the `cron` value. You can use [Crontab.guru](https://crontab.guru/#0_*/4_*_*_*).
26-
6. Push and control your backup workflow from the `Actions` tab of your repository Github page.
24+
4. Give Actions write access to your repository: `Settings` > `Actions` > `General` > `Workflow permissions` > choose `Read and write permissions`
25+
5. Install the following under `.github/workflows/whatever.yml` in your repo.
26+
6. Configure the frequency by changing the `cron` value. You can use [Crontab.guru](https://crontab.guru/#0_*/4_*_*_*).
27+
7. Push and control your backup workflow from the `Actions` tab of your repository Github page.
2728

2829
```yaml
2930
name: "Notion backup"

0 commit comments

Comments
 (0)