Skip to content

Commit 93fd522

Browse files
deploy on tagged version commit
1 parent e588a63 commit 93fd522

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches:
66
main
7-
release:
8-
types:
9-
- published
107

118
jobs:
129
build_wheels:
@@ -34,7 +31,7 @@ jobs:
3431
needs: build_wheels
3532
runs-on: ubuntu-18.04
3633

37-
if: github.event_name == 'release' && github.event.action == 'published'
34+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
3835

3936
steps:
4037
- uses: actions/download-artifact@v3

.github/workflows/tests_full.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-18.04
14+
15+
if: startsWith(github.ref, 'refs/tags/v') != true
16+
1417
steps:
1518
- uses: actions/checkout@v1
1619
- name: Set up Python 3.6

0 commit comments

Comments
 (0)