add drone/buildrone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-01-15 22:15:45 +00:00
parent 937769e2f7
commit bda0879199
7 changed files with 76 additions and 3 deletions

26
.drone.yml Normal file
View File

@@ -0,0 +1,26 @@
name: waybar-mpris
kind: pipeline
type: docker
steps:
- name: build
image: golang:latest
commands:
- apt install -y curl
- go mod download
- curl -sL https://git.io/goreleaser > goreleaser.sh
- chmod +x goreleaser.sh
- ./goreleaser.sh --snapshot --skip-publish --rm-dist
- wget https://builds.hrfee.pw/upload.py
- pip3 install requests
- bash -c 'python3 upload.py https://builds.hrfee.pw hrfee waybar-mpris ./dist/*.tar.gz'
environment:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY
trigger:
branch:
- main
event:
exclude:
- pull_request