From af41203dc51488455e2bf512e32f9669baf624d7 Mon Sep 17 00:00:00 2001 From: Derk Weijers Date: Fri, 19 Dec 2025 10:46:13 +0100 Subject: [PATCH] feat: add semantic-release configurations --- .github/workflows/deploy.yml | 5 +---- .github/workflows/semantic-release.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/semantic-release.yaml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 636c0db..dafc075 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,6 @@ name: Build and Deploy -on: - push: - branches: - - main +on: [release] jobs: build: diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml new file mode 100644 index 0000000..95cb4bc --- /dev/null +++ b/.github/workflows/semantic-release.yaml @@ -0,0 +1,20 @@ +name: Release + +on: + push: + branches: + - main +jobs: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}