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) }}