A GitHub action that simply tags the repository with the specified tag. If the tag exists it gets updated.
name: Deploy
on: [deployment]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Tag Repo
uses: richardsimko/update-tag@v1
with:
tag_name: name-of-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- tag_name (required) - The name of the tag you want to create or update.