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