Skip to content

Commit

Permalink
Merge pull request #420 from sivertschou/generate-changelog
Browse files Browse the repository at this point in the history
Add changelog generation
  • Loading branch information
sivertschou authored Nov 8, 2024
2 parents 1efcd55 + a4fbe18 commit a743a9b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [main]

permissions:
contents: write

jobs:
build:
name: Build, tag and push image
Expand Down Expand Up @@ -53,6 +56,24 @@ jobs:
git tag ${{ steps.gitversion.outputs.semVer }}
git push origin ${{ steps.gitversion.outputs.semVer }}
- name: Generate changelog
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ steps.gitversion.outputs.semVer }}
excludeTypes: ''

- name: Create release
uses: ncipollo/[email protected]
with:
tag: ${{ steps.gitversion.outputs.semVer }}
token: ${{ github.token }}
name: ${{ steps.gitversion.outputs.semVer }}
body: ${{ steps.changelog.outputs.changes }}
draft: false
prerelease: false

deploy-dev:
name: Deploy dev
environment:
Expand Down

0 comments on commit a743a9b

Please sign in to comment.