- Fork this Repository.
- Start a new ubuntu vm.
- Install docker and zsh
curl https://raw.githubusercontent.com/ics-unisg/cicd/main/get-scs-base.sh | sh
- Define SSH_HOST, SSH_PRIVATE_KEY and SSH_USER.
SSH_USER is the username
SSH_HOST is the ip address of the vm
SSH_PRIVATE_KEY is the private key for the user that has admin rights on that vm
- Push new code to the main branch
- Open in your browser
https://app.<server-ip>.nip.io