diff options
author | Harvey Tindall <hrfee@protonmail.ch> | 2021-01-15 22:15:45 +0000 |
---|---|---|
committer | Harvey Tindall <hrfee@protonmail.ch> | 2021-01-15 22:15:45 +0000 |
commit | bda0879199f5cecda3b71b1273784775bf8621b7 (patch) | |
tree | c7f40c9d9edf45a70193812465de5c46d56d8c60 /.drone.yml | |
parent | 937769e2f706600d87ed37580fda08456a6df9d9 (diff) | |
download | waybar-mpris-bda0879199f5cecda3b71b1273784775bf8621b7.tar.gz waybar-mpris-bda0879199f5cecda3b71b1273784775bf8621b7.zip |
add drone/buildrone
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..df30a58 --- /dev/null +++ b/.drone.yml @@ -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 |