Skip to content

Commit bb526b5

Browse files
committed
fix: re-release fixed
1 parent 40854b7 commit bb526b5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release-production.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ name: Publish Release to Digital Ocean
22

33
on:
44
release:
5-
types: [published, edited]
5+
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: 'Tag to update'
10+
required: true
11+
612

713
jobs:
814
publish-to-digital-ocean:
@@ -16,7 +22,7 @@ jobs:
1622
regex: true
1723
token: ${{ secrets.GITHUB_TOKEN }}
1824
target: "./"
19-
version: "latest"
25+
version: ${{ inputs.version || 'latest' }}
2026

2127
- uses: cardinalby/git-get-release-action@v1
2228
id: release-info

0 commit comments

Comments
 (0)