I want to upload a WAR file to my Openshift account , but it forces me to use GIT ot GITHUB (here). Please forgive me for saying this , but this is very very a
You may refer https://developers.openshift.com/en/tomcat-deployment-options.html
Steps:
git clone to download the source code
remove src and pom.xml from repo and push
Use Win Scp / FileZilla to log into your app
Paste ROOT.war here /var/lib/openshift/{APP_ID}/app-root/runtime/dependencies/jbossews/webapps
or simply app-root/runtime/dependencies/jbossews/webapps from the landing directory.