diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57a6e58..2568859 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repository diff --git a/README.md b/README.md index fcc3f7e..602b737 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ The repository is organized as follows: This project uses GitHub Actions to: - Test the build is not broken when pushing on any branch. - Create a release containing the built website in an archive file - both `.tar.gz` and `zip` - when pushing on `main` +- Pull updates from the template repository into your project. To do that : "Actions" > "Template update" > "Run workflow". To have it work properly, you should update workflow permissions beforehand in "Settings" > "Actions" > "General", like so: +![Needed permissions](./assets/permissions.png) ## Getting Started diff --git a/assets/permissions.png b/assets/permissions.png new file mode 100644 index 0000000..2f64abd Binary files /dev/null and b/assets/permissions.png differ