1
0
Fork 0
vision/.drone.yml

29 lines
563 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: lint
image: registry.gitlab.com/pipeline-components/luacheck:latest
commands:
- luacheck --std +love -g -u -t .
- name: build
image: bash
when:
event: tag
commands:
- apk update
- apk upgrade
- apk --no-cache add curl zip git
- chmod +x tools/build.sh
- bash tools/build.sh
- name: release
image: plugins/gitea-release
when:
event: tag
settings:
api_key:
from_secret: gitea_api
base_url: https://git.biggetje.net
files: release/*
prerelease: true