This commit is contained in:
parent
46a4045add
commit
f15b545c49
1 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- echo $GITHUB_PAT | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
|
- echo $GITHUB_PAT | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request, manual]
|
||||||
|
|
||||||
restore-cache:
|
restore-cache:
|
||||||
image: plugins/cache
|
image: plugins/cache
|
||||||
|
@ -18,7 +18,7 @@ steps:
|
||||||
- frontend/node_modules
|
- frontend/node_modules
|
||||||
path: /tmp/woodpecker-cache
|
path: /tmp/woodpecker-cache
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request, manual]
|
||||||
|
|
||||||
backend-build:
|
backend-build:
|
||||||
image: maven:3.9-eclipse-temurin-17
|
image: maven:3.9-eclipse-temurin-17
|
||||||
|
@ -29,7 +29,7 @@ steps:
|
||||||
- mvn clean install -Pprod -DskipTests
|
- mvn clean install -Pprod -DskipTests
|
||||||
- cp target/resilient*.jar /output/
|
- cp target/resilient*.jar /output/
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request, manual]
|
||||||
branch:
|
branch:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
|
@ -45,7 +45,7 @@ steps:
|
||||||
- frontend/node_modules
|
- frontend/node_modules
|
||||||
path: /tmp/woodpecker-cache
|
path: /tmp/woodpecker-cache
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request, manual]
|
||||||
|
|
||||||
save-artifacts:
|
save-artifacts:
|
||||||
image: ghcr.io/woodpecker-ci/plugin-artifacts
|
image: ghcr.io/woodpecker-ci/plugin-artifacts
|
||||||
|
@ -54,7 +54,7 @@ steps:
|
||||||
- /output/resilient*.jar
|
- /output/resilient*.jar
|
||||||
destination: build
|
destination: build
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request, manual]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue