We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c77e021 commit 58f6904Copy full SHA for 58f6904
action.yml
@@ -29,3 +29,9 @@ inputs:
29
commitMessage:
30
description: 'Set custom commit message'
31
required: false
32
+ tagName:
33
+ description: 'Set tag name'
34
+ required: false
35
+ tagMessage:
36
+ description: 'Set tag message'
37
entrypoint.sh
@@ -142,4 +142,13 @@ else
142
git push origin "${remote_branch}"
143
fi
144
145
+if [[ -n "${INPUT_TAGNAME}" ]]; then
146
+ if [[ -n "${INPUT_TAGMESSAGE}" ]]; then
147
+ git tag "${INPUT_TAGNAME}" -m "${INPUT_TAGMESSAGE}"
148
+ else
149
+ git tag "${INPUT_TAGNAME}"
150
+ fi
151
+ git push origin "${INPUT_TAGNAME}"
152
+fi
153
+
154
print_info "${GITHUB_SHA} was successfully deployed"
0 commit comments