diff --git a/.github/cr.yaml b/.github/cr.yaml index e4f2e02..9139d01 100644 --- a/.github/cr.yaml +++ b/.github/cr.yaml @@ -8,3 +8,4 @@ target-branch: gh-pages package-path: .cr-release-packages index-path: .cr-index skip-existing: true +push: true diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index 3b3a817..b3c1d6b 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -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 diff --git a/helm/passkey-auth/README.md b/helm/passkey-auth/README.md index 03de0d3..29a43dc 100644 --- a/helm/passkey-auth/README.md +++ b/helm/passkey-auth/README.md @@ -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: