Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JancoNel authored Apr 15, 2024
1 parent 9f5efea commit 31bba84
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Update Tag

on:
push:
branches:
- main

jobs:
update-tag:
runs-on: ubuntu-latest
inputs:
tag-name:
description: 'Name of the tag to be updated'
required: true
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create tag
id: create_tag
run: |
git tag -f ${{ inputs.tag-name }} main
git push -f origin ${{ inputs.tag-name }}

0 comments on commit 31bba84

Please sign in to comment.