
* revert deployment changes * update docker and compose for previous deployment * minor readme update * use package instead of install this avoids exploding war file in tomcat but seems to be missing overlays for VIVO theme * test docker workflow * test deploy workflow * add package profile for home * skip deploy for installer * skip installer by profile * update workflows * minor readme update * use app-name for vivo log file name * Update log4j.properties Co-authored-by: William Welling <wwelling@library.tamu.edu>
31 lines
710 B
YAML
31 lines
710 B
YAML
name: Build
|
|
|
|
on: [ push, pull_request, workflow_dispatch ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
MAVEN_OPTS: -Xmx1024M
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Clone Vitro
|
|
run: git clone https://github.com/vivo-project/Vitro.git ../Vitro
|
|
|
|
- name: Maven Cache
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: ~/.m2/repository
|
|
key: ${{ runner.os }}-cache-m2-${{ hashFiles('**/pom.xml') }}
|
|
restore-keys: ${{ runner.os }}-cache-m2-
|
|
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 11
|
|
|
|
- name: Maven Build
|
|
run: mvn clean package -s installer/example-settings.xml
|