Compare commits
9 Commits
v0.1.5
...
fe45d901e4
Author | SHA1 | Date | |
---|---|---|---|
fe45d901e4 | |||
ba6e201adc | |||
5867cfc3e1 | |||
8771e1ee02 | |||
2be4331a6e | |||
98754be109 | |||
9ee2750534 | |||
9920c94a8b | |||
b7bc477d2e |
@@ -2,12 +2,13 @@ name: Gitea CI/CD
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
#push:
|
||||||
branches: [ "development", "main", "staging"]
|
#branches: [ "development", "main", "staging"]
|
||||||
tags: [ "v*.*.*" ]
|
#tags: [ "v*.*.*" ]
|
||||||
#pull_request:
|
pull_request:
|
||||||
#branches: [ "development", "main", "staging" ]
|
#branches: [ "development", "main", "staging" ]
|
||||||
|
tags: [ "v*.*.*" ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
packages: write
|
packages: 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