innaircbot/.woodpecker/woodpecker.yml

20 lines
440 B
YAML
Raw Permalink Normal View History

2022-07-18 22:38:34 +03:00
steps:
- name: test
2024-11-21 00:30:09 +03:00
when:
event: [tag, push]
2022-07-18 22:38:34 +03:00
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean package
volumes:
2024-11-21 00:30:09 +03:00
- /home/docker/woodpecker/files/m2:/root/.m2
2022-07-18 22:38:34 +03:00
- name: archive-artifact
2024-11-21 00:30:09 +03:00
when:
event: [tag, push]
2022-07-18 22:38:34 +03:00
image: alpine:latest
commands:
- mkdir -p /builds/innaircbot
- cp target/InnaIrcBot-*jar /builds/innaircbot/
volumes:
2024-11-21 00:30:09 +03:00
- /home/www/builds:/builds