mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-10 15:05:38 +08:00
Git push assets to release branch
This commit is contained in:
parent
bce5ab64eb
commit
c655693b73
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -133,3 +133,15 @@ jobs:
|
|||||||
./publish/*
|
./publish/*
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Git push assets to "release" branch
|
||||||
|
run: |
|
||||||
|
cd publish
|
||||||
|
git init
|
||||||
|
git config --local user.name "${{ github.actor }}"
|
||||||
|
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
|
git checkout -b release
|
||||||
|
git add .
|
||||||
|
git commit -m "${{ env.RELEASE_NAME }}"
|
||||||
|
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
|
||||||
|
git push -u origin release
|
||||||
|
Loading…
Reference in New Issue
Block a user