diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b37261a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,14 @@ +name: Build Check + +on: + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v5 + - name: Install, build, and upload your site + uses: withastro/action@v5 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..01145cb --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,31 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v5 + - name: Install, build, and upload your site + uses: withastro/action@v5 + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index 880ae41..8e017c3 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,4 @@ vite.config.js.timestamp-* vite.config.ts.timestamp-* /.astro /.vscode +.claude/settings.local.json diff --git a/astro.config.mjs b/astro.config.mjs index 94e3662..d6281da 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,9 +4,11 @@ import starlight from '@astrojs/starlight'; // https://astro.build/config export default defineConfig({ + site: 'https://docs.kubeorch.dev', integrations: [ starlight({ title: 'KubeOrch Docs', + favicon: '/favicon.ico', social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/KubeOrch' }], sidebar: [ { diff --git a/package-lock.json b/package-lock.json index 45362a0..afebd8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1719,6 +1719,7 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -1879,6 +1880,7 @@ "resolved": "https://registry.npmjs.org/astro/-/astro-5.13.4.tgz", "integrity": "sha512-Mgq5GYy3EHtastGXqdnh1UPuN++8NmJSluAspA5hu33O7YRs/em/L03cUfRXtc60l5yx5BfYJsjF2MFMlcWlzw==", "license": "MIT", + "peer": true, "dependencies": { "@astrojs/compiler": "^2.12.2", "@astrojs/internal-helpers": "0.7.2", @@ -5272,6 +5274,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -5752,6 +5755,7 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.49.0.tgz", "integrity": "sha512-3IVq0cGJ6H7fKXXEdVt+RcYvRCt8beYY9K1760wGQwSAHZcS9eot1zDG5axUbcp/kWRi5zKIIDX8MoKv/TzvZA==", "license": "MIT", + "peer": true, "dependencies": { "@types/estree": "1.0.8" }, @@ -6477,6 +6481,7 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz", "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -6691,6 +6696,7 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index 12aa4cf..a2f219b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "", + "name": "kubeorch-docs", "type": "module", "version": "0.0.1", "scripts": { diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 0000000..f524570 --- /dev/null +++ b/public/CNAME @@ -0,0 +1 @@ +docs.kubeorch.dev diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..4668e7b Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg deleted file mode 100644 index cba5ac1..0000000 --- a/public/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file