CI cleanup

This commit is contained in:
Anuken
2020-11-19 19:39:40 -05:00
parent 8214188215
commit b1ace4a7c9
2 changed files with 2 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ jobs:
cd docs cd docs
git add . git add .
git commit -m "Update ${GITHUB_REF:1}" git commit -m "Update ${GITHUB_REF:1}"
git push https://Anuken:${{ secrets.GITHUB_TOKEN }}@github.com/MindustryGame/docs git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/MindustryGame/docs
cd ../Mindustry cd ../Mindustry
- name: Update F-Droid build string - name: Update F-Droid build string
run: | run: |

View File

@@ -16,10 +16,8 @@ jobs:
run: ./gradlew test run: ./gradlew test
- name: Trigger BE build - name: Trigger BE build
run: | run: |
echo "Cloning..."
git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
echo "Done cloning."
cd ../MindustryBuilds cd ../MindustryBuilds
git tag ${GITHUB_RUN_NUMBER} git tag ${GITHUB_RUN_NUMBER}
git config --global user.name "Build Uploader" git config --global user.name "Build Uploader"
git push https://Anuken:${{ secrets.GITHUB_TOKEN }}@github.com/Anuken/MindustryBuilds ${GITHUB_RUN_NUMBER} git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryBuilds ${GITHUB_RUN_NUMBER}