7 Commits

View File

@@ -2,12 +2,13 @@ name: Gitea CI/CD
on:
workflow_dispatch:
push:
branches: [ "development", "main", "staging"]
tags: [ "v*.*.*" ]
#pull_request:
#push:
#branches: [ "development", "main", "staging"]
#tags: [ "v*.*.*" ]
pull_request:
#branches: [ "development", "main", "staging" ]
tags: [ "v*.*.*" ]
permissions:
contents: write
packages: write
@@ -137,7 +138,7 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git tag ${{ needs.set-tag.outputs.tag_name }}
git push origin ${{ needs.set-tag.outputs.tag_name }}
git push -u origin ${{ needs.set-tag.outputs.tag_name }}
echo "Tag created and pushed successfully"
- name: Skip tag creation