Compare commits
3 Commits
v0.1.5
...
9ee2750534
Author | SHA1 | Date | |
---|---|---|---|
9ee2750534 | |||
9920c94a8b | |||
b7bc477d2e |
@@ -2,11 +2,12 @@ name: Gitea CI/CD
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
#push:
|
||||||
|
#branches: [ "development", "main", "staging"]
|
||||||
|
#tags: [ "v*.*.*" ]
|
||||||
|
pull_request:
|
||||||
branches: [ "development", "main", "staging" ]
|
branches: [ "development", "main", "staging" ]
|
||||||
tags: [ "v*.*.*" ]
|
tags: [ "v*.*.*" ]
|
||||||
#pull_request:
|
|
||||||
#branches: [ "development", "main", "staging" ]
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -137,7 +138,7 @@ jobs:
|
|||||||
git config user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
git config user.email "actions@github.com"
|
git config user.email "actions@github.com"
|
||||||
git tag ${{ needs.set-tag.outputs.tag_name }}
|
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"
|
echo "Tag created and pushed successfully"
|
||||||
|
|
||||||
- name: Skip tag creation
|
- name: Skip tag creation
|
||||||
|
Reference in New Issue
Block a user