To report issues or propose new features for this repository, visit our tracker.
Deploy the example using Vercel:
Set the following repository secrets for GitHub Actions:
- generate an ssh keygen pair and set
SSH_USER,SSH_IP,SSH_DIR, andSSH_KEY:SSH_USER- the host userSSH_IP- the IP of the serverSSH_DIR- the desired directory to copy toSSH_KEY- the contents of the generatedsite_build_keyfile:
# generate key
ssh-keygen -t ed25519 -C "github-actions@site-build" -f site_build_key < /dev/null
# allow key to login to user
mkdir -p ~/.ssh
cat site_build_key.pub >> ~/.ssh/authorized_keys
# print key result to set SSH_KEY - DO NOT SHARE!!
cat site_build_key- The workflow will run:
- On any changes to the
mainbranch - Manually on dispatch
- For security, it will always checkout from
main, even if requesting dispatch on an alternate branch
- For security, it will always checkout from
- On any changes to the
pnpm run dev