Added cicd
This commit is contained in:
parent
98c1b8c0df
commit
7d3b9e68df
1 changed files with 23 additions and 0 deletions
23
.woodpecker.yaml
Normal file
23
.woodpecker.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
steps:
|
||||
- name: "Create a virtual environment"
|
||||
image: python:3
|
||||
commands:
|
||||
- pip install -r ./requirements.txt -t ./lib
|
||||
when:
|
||||
- event: tag
|
||||
- name: "Build a zip"
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add zip
|
||||
- zip -r Flow.Launcher.Plugin.OSRSSearch-${CI_COMMIT_TAG}.zip . -x '*.zip'
|
||||
when:
|
||||
- event: tag
|
||||
- name: "Create release"
|
||||
image: woodpeckerci/plugin-release
|
||||
settings:
|
||||
files:
|
||||
- Flow.Launcher.Plugin.OSRSSearch-${CI_COMMIT_TAG}.zip
|
||||
api_key:
|
||||
from_secret: ACCESS_TOKEN
|
||||
when:
|
||||
- event: tag
|
Loading…
Reference in a new issue