Skip to content

Commit f2ed8e0

Browse files
authored
Update the helm install command (#391)
* Update the helm install command Signed-off-by: kerthcet <[email protected]> * Add deploy workflow Signed-off-by: kerthcet <[email protected]> * Update the agetn token Signed-off-by: kerthcet <[email protected]> --------- Signed-off-by: kerthcet <[email protected]>
1 parent e6012b7 commit f2ed8e0

File tree

22 files changed

+36
-7
lines changed

22 files changed

+36
-7
lines changed

.github/ISSUE_TEMPLATE/NEW_RELEASE.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,5 @@ Please do not remove items from the checklist
3535
- [ ] `manifests.yaml` under artifacts
3636
- [ ] new generated helm chart `*.zip` file
3737
- [ ] Publish the draft release prepared at the [Github releases page](https://github.com/inftyai/llmaz/releases)
38-
- [ ] Publish the helm chart
39-
- [ ] Run `git checkout gh-pages`
40-
- [ ] Copy the `index.yaml` from main branch
41-
- [ ] Submit a PR and merge it.
38+
- [ ] Publish the helm chart: `helm push llmaz-<version>.tgz oci://docker.io/inftyai`
4239
- [ ] Close this issue

.github/workflows/deploy.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy Hugo site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Setup Hugo
17+
uses: peaceiris/actions-hugo@v2
18+
with:
19+
hugo-version: 'latest'
20+
21+
- name: Build Hugo site
22+
run: hugo --source site --minify
23+
24+
- name: Deploy to GitHub Pages
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.AGENT_TOKEN }}
28+
publish_dir: ./site/public
29+
publish_branch: gh-pages

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,8 @@ helm-package: helm
335335

336336
# To recover values.yaml
337337
make helm
338+
339+
.PHONY: launch-website
340+
launch-website:
341+
cd site && \
342+
hugo server
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

site/content/en/docs/installation.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ Note: llmaz helm chart will by default install
2323
### Install
2424

2525
```cmd
26-
helm repo add inftyai https://inftyai.github.io/llmaz
27-
helm repo update
28-
helm install llmaz inftyai/llmaz --namespace llmaz-system --create-namespace --version 0.0.9
26+
helm install llmaz oci://registry-1.docker.io/inftyai/llmaz --namespace llmaz-system --create-namespace --version 0.0.9
2927
```
3028

3129
### Uninstall

0 commit comments

Comments
 (0)