Update .drone.yml
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Sthope 2023-08-28 20:17:40 +02:00
parent 6c338a6383
commit e677929ae5

View File

@ -37,13 +37,11 @@ steps:
from_secret: gitea_token from_secret: gitea_token
commands: commands:
- apk add --no-cache curl git - apk add --no-cache curl git
- git remote set-url origin https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/xbox_og.git - git clone https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/xbox_og.git
- mkdir -p Insignia - 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" | 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 grep "browser_download_url.*setup.xbe" | cut -d : -f 2,3 | tr -d \") && ls -l Insignia
- git config user.email "hopelessautomations@gmail.com" - git add .
- git config user.name $USERNAME - git commit -m "Updating Insignia"
- git add Insignia/default.xbe - git push
- git commit -m "Add default.xbe"
- git push --set-upstream origin main