File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: Deploy Website
33on :
44 workflow_dispatch :
55 inputs :
6- version :
7- description : ' The version of the website used for the GitHub release'
6+ title :
7+ description : ' The name of the GitHub release'
88 type : string
99 required : true
1010 description :
11- description : ' The description of changes used in the GitHub release changelog'
11+ description : ' The description used in the GitHub release (typically a changelog) '
1212 type : string
1313 required : true
1414 make_release :
@@ -35,11 +35,14 @@ jobs:
3535 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3636 - name : Make reference.zip
3737 run : npm run zip
38+ - name : Set Tag Name
39+ run : |
40+ echo "RELEASE_DATE=$(date '+%Y-%m-%d-%H%M%S')" >> ${GITHUB_ENV}
3841 - name : Create release
3942 uses : softprops/action-gh-release@v1
4043 if : ${{ inputs.make_release }}
4144 with :
4245 files : reference.zip
4346 body : ${{ inputs.description }}
44- name : ' Website ${{ inputs.version }}'
45- tag_name : ${{ inputs.version }}
47+ name : ${{ inputs.title }}
48+ tag_name : ${{ env.RELEASE_DATE }}
You can’t perform that action at this time.
0 commit comments