From 58d64a1d90002ff5f05f0d5776f3535c927cbf65 Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Mon, 18 Mar 2024 11:33:00 +0000 Subject: [PATCH] Add documentation about write access If this is part of the documentation, users can follow the documentation in order to setup a new repository. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 97af758..4a384fe 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,11 @@ jobs: - uses: subosito/flutter-action@v2 - uses: bluefireteam/flutter-gh-pages@v7 ``` + +In order to push the changes, the **GITHUB_TOKEN** needs to have **write** permissions. This can be set in Repository 🠚 Settings 🠚 Actions 🠚 General. +See the [documentation](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token). +![image](https://github.com/bluefireteam/flutter-gh-pages/assets/564768/22e3ed49-03bf-4b30-ad96-e16dc6613106) + To build a project in a folder other that the root, use the `workingDir` property ```yml