In this example, you will use Cloud Native Build to package the "react-ssh-demo" project, build it and upload the artifacts to the server via Rsync.
# react-ssh-secret.yml
REMOTE_HOST: xxx
REMOTE_USERNAME: xxx
REMOTE_PORT: xxx
PRIVATE_KEY: |
-----BEGIN RSA PRIVATE KEY-----
xxxxxxxx
-----END RSA PRIVATE KEY-----
Click the Fork button in the upper right corner to fork the project to your own repository. Then click the Cloud Native Development button to start remote development.
npm install npm run start
curl http://localhost:3000