Skip to content

Commit

Permalink
[Enhance] Support trigger ci manually (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
HAOCHENYE authored Jan 15, 2025
1 parent 8ec8378 commit e60ab1d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: deploy

on:
on:
- push
- workflow_dispatch

Expand All @@ -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 e60ab1d

Please sign in to comment.