5 Commits

Author SHA1 Message Date
040bab517c fix: push only tag branch, not to main
All checks were successful
CI / test (push) Successful in 21s
2025-05-20 20:29:04 +02:00
df14525731 fix: needs
All checks were successful
CI / test (push) Successful in 20s
2025-05-20 20:21:26 +02:00
c7880fd4a7 fix: correct ci path
All checks were successful
CI / test (push) Successful in 20s
2025-05-20 20:20:05 +02:00
65fc51e875 refactor: cd to re-use ci
All checks were successful
CI / test (push) Successful in 21s
2025-05-20 20:17:43 +02:00
df0ae5a7d7 ci: add release pipeline
All checks were successful
CI / test (push) Successful in 21s
2025-05-20 20:16:03 +02:00
2 changed files with 32 additions and 0 deletions

31
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,31 @@
name: CI & Release
on:
push:
branches:
- main
jobs:
ci:
uses: ./.gitea/workflows/ci.yaml
release:
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install -g standard-version
- run: |
git config --global user.name "Release Bot"
git config --global user.email "release-bot@t00n.de"
- run: |
standard-version --no-verify --skip-changelog
tag=$(git describe --tags --abbrev=0)
git push origin "$tag"
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}

View File

@@ -4,6 +4,7 @@ on:
push:
branches-ignore:
- main
workflow_call:
jobs:
test: