diff --git a/.drone.yml b/.drone.yml index f0ab615..0f56844 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,17 +36,15 @@ steps: PASSWORD: from_secret: gitea_token commands: - - pwd - # - apk add --no-cache curl git - # - 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 add . - # - git commit -m "Updating Insignia" - # - git push - - # volumes: - # - name: cache - # path: /go \ No newline at end of file + - apk add --no-cache curl git + - 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 \") + - git add . + - git commit -m "Updating Insignia" + - git push + volumes: + - name: cache + path: /drone/src/xbox_og \ No newline at end of file