diff --git a/.woodpecker/woodpecker.yml b/.woodpecker/woodpecker.yml new file mode 100644 index 0000000..c48b8e8 --- /dev/null +++ b/.woodpecker/woodpecker.yml @@ -0,0 +1,20 @@ +steps: + - name: test + when: + event: [tag, push] + image: maven:3-jdk-11 + commands: + - mvn -B -DskipTests clean package + - mvn test -B + volumes: + - /home/docker/woodpecker/files/m2:/root/.m2 + + - name: archive-artifact + when: + event: [tag, push] + image: alpine:latest + commands: + - mkdir -p /builds/logiledus + - cp target/LogiLedus-*jar /builds/logiledus/ + volumes: + - /home/www/builds:/builds diff --git a/README.md b/README.md index 35a4c0c..d9d4d32 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LogiLedus -![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![Releases](https://img.shields.io/github/downloads/developersu/LogiLedus/total.svg) ![LatestVer](https://img.shields.io/github/release/developersu/LogiLedus.svg) [![Build Status](https://ci.redrise.ru/api/badges/desu/logiledus/status.svg)](https://ci.redrise.ru/desu/logiledus) +![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![Releases](https://img.shields.io/github/downloads/developersu/LogiLedus/total.svg) ![LatestVer](https://img.shields.io/github/release/developersu/LogiLedus.svg) [![status-badge](https://ci.redrise.ru/api/badges/4/status.svg)](https://ci.redrise.ru/repos/4) GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/logiledus)