From 48abfda1b63be83147e2d837091141a132faa012 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Fri, 28 May 2021 11:12:13 +0100 Subject: [PATCH] Revert "Bump Plex build on cron and attempt to push to git" This reverts commit a09bf8c4ff47931ebfaa185b092f7643cd1b64e4. Signed-off-by: Joe Groocock --- .drone.yml | 36 +----------------------------------- update.sh | 1 + 2 files changed, 2 insertions(+), 35 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4631ccb..597a9a9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,12 +2,6 @@ kind: pipeline name: build-amd64 -trigger: - event: - - push - - pull_request - - tag - platform: os: linux arch: amd64 @@ -73,36 +67,8 @@ steps: event: - 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: master - remote: git@github.com:spritsail/plex-media-server.git - ssh_key: {from_secret: git_ssh_key} - --- kind: signature -hmac: ffa33c4e8d4d71e4a1dcbc850859ebde679f6c574885d99df3ca9496e1db55b9 +hmac: 6d4fdd6274fdab370550ea310af156a7e6fdb74794c80bf234a825d7136f6783 ... diff --git a/update.sh b/update.sh index 437d40d..cb03ee3 100755 --- a/update.sh +++ b/update.sh @@ -21,6 +21,7 @@ if ! git diff --quiet --exit-code Dockerfile; then --no-gpg-sign \ --signoff \ -m "Update to Plex ${VERSION%-*}" + git push origin HEAD else >&2 echo No update available fi