From e677929ae58e40c5954830166040f2d27cf4cfca Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 28 Aug 2023 20:17:40 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8fc8c4a..2e9b0e5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,13 +37,11 @@ steps: from_secret: gitea_token commands: - apk add --no-cache curl git - - git remote set-url origin https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/xbox_og.git - - mkdir -p Insignia + - git clone https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/xbox_og.git + - cd xbox_og && rm -rf Insigina ; mkdir -p Insignia - | curl -sL -o Insignia/default.xbe $(curl -s "https://api.github.com/repos/insignia-live/setup-assistant-release/releases/latest" | grep "browser_download_url.*setup.xbe" | cut -d : -f 2,3 | tr -d \") && ls -l Insignia - - git config user.email "hopelessautomations@gmail.com" - - git config user.name $USERNAME - - git add Insignia/default.xbe - - git commit -m "Add default.xbe" - - git push --set-upstream origin main \ No newline at end of file + - git add . + - git commit -m "Updating Insignia" + - git push \ No newline at end of file