Skip to content

Commit

Permalink
[Enhance] Support trigger ci manually
Browse files Browse the repository at this point in the history
  • Loading branch information
HAOCHENYE committed Jan 15, 2025
1 parent a9fd936 commit 57c8543
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ concurrency:
jobs:
build-n-publish:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags')
if: |
startsWith(github.event.ref, 'refs/tags') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
Expand All @@ -29,7 +30,8 @@ jobs:
build-n-publish-lite:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags')
if: |
startsWith(github.event.ref, 'refs/tags') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
Expand Down

0 comments on commit 57c8543

Please sign in to comment.