chore: push latest alpha core to MetaCubeX/AlphaBinary

This commit is contained in:
Larvan2 2023-03-29 12:26:10 +00:00
parent 2c7153cd7a
commit 7c80c88feb

View File

@ -268,17 +268,13 @@ jobs:
generate_release_notes: true generate_release_notes: true
body_path: release.txt body_path: release.txt
- name: Git push assets to "release" branch - name: Push to `MetaCubeX/AlphaBinary`
run: | uses: s0/git-publish-subdir-action@develop
cd bin || exit 1 env:
git init REPO: git@github.com:MetaCubeX/AlphaBinary.git
git config --local user.name "github-actions[bot]" BRANCH: release
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" FOLDER: bin
git checkout -b release SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
git add .
git commit -m "${{ env.BUILDTIME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f -u origin release
Upload-Release: Upload-Release:
permissions: write-all permissions: write-all