Created
February 27, 2020 10:58
-
-
Save corollari/8be6eb3e69a3aa942e3220fd120f1af3 to your computer and use it in GitHub Desktop.
Script to create a new deployment key to deploy to Github Pages via CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filename=$(date) | |
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f "$filename" -N "" | |
cat "$filename.pub" | |
echo | |
cat "$filename" | |
# See https://github.com/marketplace/actions/github-pages-action#%EF%B8%8F-create-ssh-deploy-key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment