FlowLauncher-OSRS-Wiki-Search/.woodpecker.yaml
Lars aef6f2906f
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/release/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
Attempted CI/CD Fix
2024-07-05 15:14:30 +02:00

24 lines
No EOL
602 B
YAML

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 '*.git*'
when:
- event: tag
- name: "Create release"
image: woodpeckerci/plugin-release
settings:
files:
- 'Flow.Launcher.Plugin.OSRSSearch*'
api_key:
from_secret: ACCESS_TOKEN
base-url: 'https://git.lrsb.nl'
when:
- event: tag