mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 20:52:15 +08:00
chore: push latest alpha core to MetaCubeX/AlphaBinary
This commit is contained in:
parent
2c7153cd7a
commit
7c80c88feb
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -268,17 +268,13 @@ jobs:
|
||||
generate_release_notes: true
|
||||
body_path: release.txt
|
||||
|
||||
- name: Git push assets to "release" branch
|
||||
run: |
|
||||
cd bin || 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 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
|
||||
- name: Push to `MetaCubeX/AlphaBinary`
|
||||
uses: s0/git-publish-subdir-action@develop
|
||||
env:
|
||||
REPO: git@github.com:MetaCubeX/AlphaBinary.git
|
||||
BRANCH: release
|
||||
FOLDER: bin
|
||||
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
|
||||
|
||||
Upload-Release:
|
||||
permissions: write-all
|
||||
|
Loading…
Reference in New Issue
Block a user