CI cleanup
This commit is contained in:
2
.github/workflows/deployment.yml
vendored
2
.github/workflows/deployment.yml
vendored
@@ -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: |
|
||||||
|
|||||||
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user