Update .gitea/workflows/deploy.yml
This commit is contained in:
parent
863aa8a506
commit
281ac8cce3
@ -11,7 +11,7 @@ jobs:
|
||||
uses: http://172.23.112.123:3000/actions/checkout@main
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/usr/src/app -v /data/app/maven-repo:/root/.m2/repository -w /usr/src/app maven:3.9.9-eclipse-temurin-17 ls /usr/src/app
|
||||
docker run --rm -v $(pwd):/usr/src/app -v /data/app/maven-repo:/root/.m2/repository -w /usr/src/app maven:3.9.9-eclipse-temurin-17 sh -c "ls -la /usr/src/app && mvn -B package --file pom.xml"
|
||||
- name: Build with Maven using Docker
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/usr/src/app -v /data/app/maven-repo:/root/.m2/repository -w /usr/src/app maven:3.9.9-eclipse-temurin-17 mvn clean install -Dmaven.test.skip=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user