From 7c2aa2833353a513192a95ce720b4514a2061216 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 22 May 2019 07:25:01 +0900 Subject: [PATCH] enhance: explanation for (1) Add deploy Key --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd1b903..75f91d4 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,11 @@ A GitHub Action to deploy your static site to GitHub Pages with [Static Site Gen ### (1) Add deploy Key 1. Generate deploy key `ssh-keygen -t rsa -b 4096 -C "your@email.com" -f gh-pages -N ""` + - You will get 2 files: `gh-pages.pub` (public key) and `gh-pages` (private key) 2. Go to "Settings > Deploy Keys" of repository. 3. Add your public key within "Allow write access" option. 4. Go to "Settings > Secrets" of repository. -5. Add your private deploy key as `ACTIONS_DEPLOY_KEY` +5. Add your private key as `ACTIONS_DEPLOY_KEY` ### (2) Create `main.workflow`