diff --git a/.gitea/workflows/commit.yml b/.gitea/workflows/commit.yml index 805c669..5dfcc7e 100644 --- a/.gitea/workflows/commit.yml +++ b/.gitea/workflows/commit.yml @@ -2,6 +2,8 @@ name: on push on: push: + branches: + - main jobs: build: @@ -10,6 +12,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Ref - shell: bash - run: echo ${{ github.ref }} + - name: Push Git Tag + run: | + git tag ${{ github.run_number }} + git push origin ${{ github.run_number }}