From 82066aeeb8bc99d6456042cf19c48479b4120ae9 Mon Sep 17 00:00:00 2001 From: Daniel Kingery Date: Tue, 29 Oct 2024 12:43:31 -0600 Subject: [PATCH] add(ci) create GH release on push --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0914e86bb..89dde5fc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,3 +85,23 @@ jobs: echo Deploying $version aws s3 cp dist s3://${{ secrets.APP_BUCKET }} --recursive aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*" + + release: + needs: + - build + - deploy + runs-on: ubuntu-latest + steps: + - name: Create Release + uses: ncipollo/release-action@v1 + env: + version: ${{needs.build.outputs.version}} + with: + tag: version-${{ env.version }} + name: Version ${{ env.version }} + body: | + ## 🚀 Changes + + ${{ github.event.head_commit.message }} + + **commit**: ${{ github.sha }}