Skip to content

Commit

Permalink
CI: Generate release body from annotated tag (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd authored Jul 25, 2022
1 parent 00168d0 commit 68f6e90
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy tag to production
name: Deploy tag to production and create GH release

on:
push:
Expand Down Expand Up @@ -27,8 +27,15 @@ jobs:
env:
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
- name: Generate github release
uses: softprops/action-gh-release@v1

release:
runs-on: ubuntu-latest
needs: deploy
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
generate_release_notes: true
draft: false
ref: ${{ github.ref }}
- name: Create GitHub release from annotated tag
uses: spenserblack/[email protected]

0 comments on commit 68f6e90

Please sign in to comment.