FlowLauncher-OSRS-Wiki-Search/.woodpecker.yaml

23 lines
584 B
YAML
Raw Normal View History

2024-07-05 14:40:25 +02:00
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
2024-07-05 14:50:34 +02:00
- zip -r Flow.Launcher.Plugin.OSRSSearch-${CI_COMMIT_TAG}.zip . -x '*.git*'
2024-07-05 14:40:25 +02:00
when:
- event: tag
- name: "Create release"
image: woodpeckerci/plugin-release
settings:
files:
2024-07-05 14:52:59 +02:00
- 'Flow.Launcher.Plugin.OSRSSearch-${CI_COMMIT_TAG}.zip'
2024-07-05 14:40:25 +02:00
api_key:
from_secret: ACCESS_TOKEN
when:
- event: tag