Skip to content

Commit

Permalink
add(ci) create GH release on push
Browse files Browse the repository at this point in the history
  • Loading branch information
leinaD006 committed Oct 29, 2024
1 parent 2b0cfad commit 82066ae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 82066ae

Please sign in to comment.