Github Update Tag Action

A Github action that simply tags the repository with the specified tag. If the tag exists it gets updated.

Usage

name: Deploy

on: [deployment]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Tag Repo
            uses: richardsimko/github-tag-action@master
            with:
              tag_name: name-of-tag
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

  • tag_name (required) - The name of the tag you want to create or update.