|
|
|
@ -82,14 +82,14 @@ jobs: |
|
|
|
|
- name: Push Assets To "release" Branch |
|
|
|
|
if: ${{ github.actor == 'gedoor' }} |
|
|
|
|
run: | |
|
|
|
|
cd $GITHUB_WORKSPACE/apk || exit 1 |
|
|
|
|
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 release |
|
|
|
|
git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release" -b release release-branch |
|
|
|
|
mv -rf $GITHUB_WORKSPACE/apk/*.apk release-branch |
|
|
|
|
cd release-branch |
|
|
|
|
git add *.apk |
|
|
|
|
git commit -m "${{ env.RELEASE_VERSION }}" |
|
|
|
|
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release" |
|
|
|
|
git push -f -u origin release |
|
|
|
|
- name: Purge Jsdelivr Cache |
|
|
|
|
if: ${{ github.actor == 'gedoor' }} |
|
|
|
|