This commit is contained in:
celetor
2022-01-07 11:08:18 +08:00
parent 76a4c705e9
commit 70786c31e8
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -127,14 +127,14 @@ jobs:
run: mv */*.apk . ;rm -rf */
- name: Push To "test" Branch
run: |
cd $GITHUB_WORKSPACE/apk
git init
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b test
git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release" -b test test-branch
mv -rf $GITHUB_WORKSPACE/apk/*.apk test-branch
cd test-branch
git add *.apk
git commit -m "${{ needs.prepare.outputs.versionL }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release"
git push -f -u origin test
telegram: