Fix helm issue

This commit is contained in:
2025-08-06 21:51:39 +10:00
parent 083d8a78c6
commit 41f5ba9e61
3 changed files with 14 additions and 17 deletions
+1
View File
@@ -8,3 +8,4 @@ target-branch: gh-pages
package-path: .cr-release-packages
index-path: .cr-index
skip-existing: true
push: true
+11 -14
View File
@@ -11,8 +11,6 @@ on:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
@@ -77,6 +75,17 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Create gh-pages branch if it doesn't exist
run: |
if ! git ls-remote --exit-code --heads origin gh-pages; then
echo "Creating gh-pages branch"
git checkout --orphan gh-pages
git reset --hard
git commit --allow-empty -m "Initial gh-pages commit"
git push origin gh-pages
git checkout main
fi
- name: Install Helm
uses: azure/setup-helm@v4
with:
@@ -93,15 +102,3 @@ jobs:
config: .github/cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: .cr-index
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
+2 -3
View File
@@ -9,7 +9,7 @@ This chart deploys a secure, passwordless authentication service using WebAuthn/
## TL;DR
```bash
helm repo add passkey-auth https://your-github-username.github.io/passkey-auth-helm
helm repo add passkey-auth https://wahyd4.github.io/passkey-auth
helm repo update
helm install my-passkey-auth passkey-auth/passkey-auth \
--set config.webauthn.rpId=auth.example.com \
@@ -29,7 +29,7 @@ helm install my-passkey-auth passkey-auth/passkey-auth \
### Add Helm Repository
```bash
helm repo add passkey-auth https://your-github-username.github.io/passkey-auth-helm
helm repo add passkey-auth https://wahyd4.github.io/passkey-auth
helm repo update
```
@@ -82,7 +82,6 @@ ingress:
pathType: Prefix
```
## Setup Authentication for Your Services
Add these annotations to your ingress resources to protect them with passkey authentication: