We have considered and tried the following two ways approaching Continuous Deployment:
Since the repository is not owned by any of the team members, and is owned by the lecturer of SOFTENG761, unfortunately, we cannot have CD set up for thie repository. All deployments needs to be done from terminal. Please contact @lucas2005gao if there are updates in the backend to be deployed.
git remote add heroku https://git.heroku.com/virtual-patient-system.git
If this is fast-forwarding the heroku remote, then simply do
git subtree push --prefix backend heroku master
OR, If this requires a forced push then do
git subtree split --prefix backend master$(hashcode) belowgit push heroku $(hashcode):master --force