ci: fix desktop beta release trigger

pull/7639/head
Andy Hsu 2024-12-10 20:21:51 +08:00
parent 650b03aeb1
commit ecefa5e0eb
1 changed files with 18 additions and 9 deletions

View File

@ -111,14 +111,23 @@ jobs:
name: Beta Release Desktop name: Beta Release Desktop
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: peter-evans/create-or-update-comment@v4 - name: Checkout repo
uses: actions/checkout@v4
with: with:
issue-number: 69 repository: alist-org/desktop-release
body: | ref: main
/release-beta persist-credentials: false
- triggered by @${{ github.actor }} fetch-depth: 0
- commit sha: ${{ github.sha }}
- view files: https://github.com/alist-org/alist/tree/${{ github.sha }} - name: Commit
reactions: 'rocket' run: |
token: ${{ secrets.MY_TOKEN }} git config --local user.email "bot@nn.ci"
git config --local user.name "IlaBot"
git commit --allow-empty -m "Trigger build for ${{ github.sha }}"
- name: Push commit
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.MY_TOKEN }}
branch: main
repository: alist-org/desktop-release repository: alist-org/desktop-release