-
Notifications
You must be signed in to change notification settings - Fork 1
Configuring the key pair for the automatic build
hiperwalk edited this page May 31, 2023
·
1 revision
The GitHub Actions workflow that builds the page needs a SSH key pair to work.
The key pair can be created with the following command:
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f gh-pages -N ""
This will create 2 files in the current directory: gh-pages
and gh-pages.pub
, the private and public parts, respectfully.
In https://github.com/hiperwalk/hiperwalk.github.io/settings/keys click in Add deploy key and paste the public part in the text area. Don't forget to check the Allow write access box. Click in Add key.
In https://github.com/hiperwalk/hiperwalk.github.io/settings/secrets/actions click in the button New repository secret, use ACTIONS_DEPLOY_KEY
as a name, paste the private part in the text area Secret and click in Add secret.