Skip to content

elobytesoftware/hello-world-nextJS

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

1) make a new keypair just for GitHub Actions (no passphrase to keep it simple)

ssh-keygen -t ed25519 -C "gh-actions" -f ~/.ssh/gh_actions -N ""

2) allow that public key to log in

cat ~/.ssh/gh_actions.pub >> ~/.ssh/authorized_keys chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys

Step 2 — Put the private key into GitHub Secrets (replace old)

Still on EC2 (to copy the private key text):

cat ~/.ssh/gh_actions

About

developing a next js hello world project to learn CI/CD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors