U4X-249 Create api end point for getting test results based on encoun… #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | |
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Deploy to Dev Test server | |
on: | |
push: | |
branches: [ "3.x" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '1.8' | |
cache: maven | |
- name: Build with Maven | |
run: mvn clean install -DskipTests | |
- name: Deploy to Tomcat | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.TOMCAT_HOST }} | |
username: ${{ secrets.TOMCAT_USERNAME }} | |
password: ${{ secrets.TOMCAT_PASSWORD }} | |
port: ${{ secrets.TOMCAT_PORT }} | |
source: "/home/runner/work/openmrs-module-ugandaemr/openmrs-module-ugandaemr/omod/target/docker/web/openmrs.war" | |
target: /opt/tomcat/webapps/. | |