mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Revert "Bump Plex build on cron and attempt to push to git"
This reverts commit 7dea897666
.
This commit is contained in:
parent
caa20177d5
commit
02595c5a99
37
.drone.yml
37
.drone.yml
@ -2,12 +2,6 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: build-amd64
|
name: build-amd64
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
- tag
|
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
@ -55,37 +49,8 @@ steps:
|
|||||||
- pass
|
- pass
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: update-cron
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- cron
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: update
|
|
||||||
pull: always
|
|
||||||
image: spritsail/alpine
|
|
||||||
commands:
|
|
||||||
- apk add bash curl jq git
|
|
||||||
- ./update.sh
|
|
||||||
|
|
||||||
- name: push
|
|
||||||
pull: always
|
|
||||||
image: appleboy/drone-git-push
|
|
||||||
settings:
|
|
||||||
branch: pass
|
|
||||||
remote: git@github.com:spritsail/plex-media-server.git
|
|
||||||
ssh_key: {from_secret: git_ssh_key}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 21c718e301b4ad099b8a7c6cd9f0021e5fd86fcbd3ba14a16184a40eca155fd0
|
hmac: d7ad7e2102295415a2f975e1cb216c712d3b7fd78b11bd48020eb8f464a13b88
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -21,6 +21,7 @@ if ! git diff --quiet --exit-code Dockerfile; then
|
|||||||
--no-gpg-sign \
|
--no-gpg-sign \
|
||||||
--signoff \
|
--signoff \
|
||||||
-m "Update to Plex ${VERSION%-*}"
|
-m "Update to Plex ${VERSION%-*}"
|
||||||
|
git push origin HEAD
|
||||||
else
|
else
|
||||||
>&2 echo No update available
|
>&2 echo No update available
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user