Skip to content

Commit 7662863

Browse files
authored
Merge pull request #5 from Geocodio/hotfix/publish-workflow
Enhance GitHub Actions workflows for publishing
2 parents d8dbf46 + d616412 commit 7662863

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Publish to PyPI
33
on:
44
release:
55
types: [published]
6+
push:
7+
branches:
8+
- main
9+
- hotfix/*
10+
- release/*
611
workflow_dispatch:
712
inputs:
813
version:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"event": "workflow_dispatch",
3+
"workflow": "publish.yml",
4+
"ref": "refs/heads/feature/ci-pipeline-tasks",
5+
"inputs": {
6+
"version": "0.0.1",
7+
"publish_to": "testpypi"
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"event": "workflow_dispatch",
3+
"workflow": "publish.yml",
4+
"ref": "refs/heads/feature/ci-pipeline-tasks",
5+
"inputs": {
6+
"version": "0.0.1",
7+
"publish_to": "testpypi"
8+
}
9+
}

0 commit comments

Comments
 (0)