Skip to content

Commit

Permalink
Change deploy to a manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Apr 21, 2023
1 parent c0d7fa1 commit 5e251d7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: deploy

on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: true
default: '1.2.3'

jobs:

Expand All @@ -28,6 +31,10 @@ jobs:
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master

- uses: actions-ecosystem/action-push-tag@v1
with:
tag: v${{ github.event.inputs.version }}

- name: Set up Python
uses: actions/setup-python@v4.5.0
with:
Expand Down

0 comments on commit 5e251d7

Please sign in to comment.