-
Notifications
You must be signed in to change notification settings - Fork 39
Configure PR build deployment to Tonic UI demo repository
Cheton Wu edited this page May 5, 2025
·
2 revisions
To set up deployment for Tonic UI demo, follow these steps:
Run the following command to generate a public/private key pair:
ssh-keygen -t ed25519 -C '[email protected]:trendmicro-frontend/tonic-ui.git'
This will generate two files: ~/.ssh/id_ed25519 (private key) and ~/.ssh/id_ed25519.pub (public key).
- Visit tonic-ui repository
- Navigate to
Settings > Secrets and variables > Actions - Click
New repository secretto create a new secret:- Name:
TONIC_UI_DEMO_SSH_PRIVATE_KEY - Secret:
<place_the_ssh_private_key>
- Name:
- Visit tonic-ui-demo repository
- Navigator to
Settings > Deploy keys - Click
Add deploy key- Title:
tonic-ui-demo - Key:
<place_the_public_key> - Enable the
Allow write accessoption
- Title: