vision/.drone.yml

29 lines
563 B
YAML
Raw Normal View History

2022-10-16 15:13:38 +02:00
kind: pipeline
type: docker
name: default
steps:
2022-10-16 15:18:14 +02:00
- name: lint
image: registry.gitlab.com/pipeline-components/luacheck:latest
commands:
2022-10-16 15:31:54 +02:00
- luacheck --std +love -g -u -t .
2022-10-29 13:44:36 +02:00
- name: build
image: bash
2022-10-29 15:29:46 +02:00
when:
event: tag
2022-10-29 13:44:36 +02:00
commands:
- apk update
- apk upgrade
- apk --no-cache add curl zip git
2022-10-29 15:22:41 +02:00
- chmod +x tools/build.sh
- bash tools/build.sh
2022-10-29 15:25:00 +02:00
- name: release
image: plugins/gitea-release
2022-10-29 15:29:46 +02:00
when:
event: tag
2022-10-29 15:25:00 +02:00
settings:
api_key:
from_secret: gitea_api
base_url: https://git.biggetje.net
files: release/*
prerelease: true