Skip to content

Commit

Permalink
update type for deploy-to to environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Mar 9, 2024
1 parent e1509a4 commit da1191c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ on:
required: true
deploy-to:
description: "Choose where to publish"
type: choice
options:
- "prod"
- "test"
type: environment
workflow_call:
inputs:
archive-name:
Expand Down Expand Up @@ -119,7 +116,6 @@ jobs:

- name: "[INFO] Release already exists"
if: ${{ fromJSON(steps.tag-metadata.outputs.exists) == true }} && ${{ steps.tag-metadata.outputs.sha }} == ${{ inputs.sha }}
id: release_check
run: |
title="Tag already exists, skip publishing artifacts"
message="Tag ${{ steps.tag.outputs.tag }} already exists and is associated with the commit ${{ steps.tag-metadata.outputs.sha }}."
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ on:
required: true
deploy-to:
description: "Choose where to publish"
type: choice
options:
- "prod"
- "test"
type: environment
workflow_call:
inputs:
archive-name:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ on:
required: true
deploy-to:
description: "Choose where to publish"
type: choice
options:
- "prod"
- "test"
type: environment
workflow_call:
inputs:
package:
Expand Down

0 comments on commit da1191c

Please sign in to comment.