From e9f147331d41c57b9e621d6b593c7dbcd896d99e Mon Sep 17 00:00:00 2001 From: Josia Pietsch Date: Thu, 22 Feb 2024 16:27:34 +0100 Subject: [PATCH] updated readme --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04d2fbe..193eb76 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,12 @@ with `sudo chmod 600 `. ### Settting up a new repository For each new repository, you want to do the following: -Run `setup-key.sh /` to generate a ssh keypair and set up the `pages` user to accept this. -Here, `/` can be anything, it will be the path relative to the webroot where this ssh key +Run `setup-key.sh ` to generate a ssh keypair and set up the `pages` user to accept this. +Here, `` and `` can be anything, it will be the path relative to the webroot where this ssh key will be able to deploy to, but this would be the recommended pattern for git instances. -In your repository, add the displayed ssh key as a secret named `PAGES_SSH_KEY`. +In your repository, add the displayed ssh key as a secret (Settings -> Actions -> Secrets, note that Actions need to be enabled, see Settings -> Repository -> Advanced Settings) +named `PAGES_SSH_KEY`. Now you should be fine to use the action as described in [actions/pages][action-pages]. [git]: https://git.abstractnonsen.se