Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/cd-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: moai-inference-framework-prod-deploy

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
name: Release(Prod)
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v5

- name: Set Version
id: set-version
run: |
VERSION=${{ github.ref_name }}
echo VERSION=$VERSION
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Release Helm Chart
uses: moreh-dev/actions/release-chart@main
with:
chart_name: moai-inference-framework
chart_path: deploy/helm/moai-inference-framework
chart_version: ${{ steps.set-version.outputs.version }}
github_token: ${{ secrets.INTERNAL_ACCESS_TOKEN }}

release-note:
name: Publish auto release note
runs-on: ubuntu-latest
needs: [release]
permissions:
contents: write
steps:
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ The commit message should be structured as follows:

### Scope

- `workflow`: Changes related to CI/CD workflows.
- `deploy`: Changes related to deployment (Helm charts, container files, etc.)