From 32adb064104d84b1f41951356cdf5a50f5e1703e Mon Sep 17 00:00:00 2001 From: NightScript Date: Wed, 15 Jul 2020 15:50:40 -0700 Subject: [PATCH] Fix TWLBot stuff --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7fa950f..264b90f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: with: name: "build" path: "build" - - name: Upload to Universal-Team/Universal-Updater release + - name: Upload to ${{ github.repository }} release if: ${{ startsWith(github.ref, 'refs/tags') }} run: | ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH) @@ -92,15 +92,15 @@ jobs: git config --global user.email "flamekat54@aol.com" git config --global user.name "TWLBot" - git clone --depth 1 https://${{ secrets.TWLBOT_TOKEN }}@github.com/TWLBot/Builds.git - mkdir extras/builds/Universal-Updater/ + git clone --depth 1 https://${{ secrets.TWLBOT_TOKEN }}@github.com/Universal-Team/extras.git + mkdir -p extras/builds/Universal-Updater/ qrencode -o extras/builds/Universal-Updater/Universal-Updater-release.png https://github.com/Universal-Team/Universal-Updater/releases/download/$(git describe --abbrev=0 --tags)/Universal-Updater.cia cd extras/builds/Universal-Updater/ cp ${{ github.workspace }}/build/* . git stage . git commit -m "Universal Updater | $COMMIT_TAG" git tag v$CURRENT_DATE - git push origin v$CURRENT_DATE + git push origin master v$CURRENT_DATE echo "::set-output name=twlbot_commit::$(git log --format=%H -1)" - name: Release to Universal-Team/extras run: |