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
2 changes: 1 addition & 1 deletion .github/scripts/generate-redirect.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

LATEST="${1}"
LATEST="${1:-main-branch}"
OUTPUT="${2:-index.html}"

cat > "$OUTPUT" << HTMLEOF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
actions: write
steps:
- name: Trigger docs deployment
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.actions.createWorkflowDispatch({
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ jobs:
keep_files: true

- name: Update versions.json and root redirect
if: steps.target.outputs.is_release == 'true'
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
echo "Detected version: $VERSION"

- name: Trigger docs deployment
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
await github.rest.actions.createWorkflowDispatch({
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![CI](https://github.com/lukidoescode/lldap-operator/actions/workflows/ci.yml/badge.svg)](https://github.com/lukidoescode/lldap-operator/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Docs](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://lukidoescode.github.io/lldap-operator/)

A Kubernetes operator that manages [lldap](https://github.com/lldap/lldap)
users and groups as native Kubernetes resources via Custom Resource Definitions
Expand Down
2 changes: 2 additions & 0 deletions docs/src/version-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
select.appendChild(opt);
});

if (select.options.length === 0) return;

select.addEventListener('change', function () {
window.location.href = '/' + this.value + '/' + currentPage;
});
Expand Down
Loading