From 1783c9f34f8c78c198e1b7cdb97b37f51b6a113e Mon Sep 17 00:00:00 2001 From: PeterCJ Date: Wed, 17 Jan 2024 11:35:35 -0800 Subject: [PATCH] Just show the message --- .github/workflows/OnTag.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/OnTag.yml b/.github/workflows/OnTag.yml index 14ca854..9984c98 100644 --- a/.github/workflows/OnTag.yml +++ b/.github/workflows/OnTag.yml @@ -1,9 +1,10 @@ -name: OnDeploymentMetaData +name: OnTagMetaData # Controls when the workflow will run on: - # Triggers the workflow on deployment events (after tag) - deployment: + # Triggers the workflow on tag + push: + tags: '*' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -20,4 +21,5 @@ jobs: # Runs a set of commands using the runners shell - name: Show meta-info run: | - echo JSON: ${{ toJson(github) }} + echo tag -m ${{ github.event.head_commit.message }} + # echo JSON: ${{ toJson(github) }}