diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 99e0a2e..8d237a4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,6 +38,11 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v4 + - name: Copy installer scripts to public + run: | + cp install.ps1 docs/public/install.ps1 + cp install.sh docs/public/install.sh + - name: Build with VitePress run: npm run docs:build working-directory: docs diff --git a/README.md b/README.md index 658a5f6..d7a6d40 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,12 @@ Auto-detects your OS and architecture (macOS arm64/x86_64, Linux x86_64/aarch64) Run this one-liner in PowerShell (5.1 or later): ```powershell -irm https://raw.githubusercontent.com/stephenleo/cship/main/install.ps1 | iex +irm https://cship.dev/install.ps1 | iex ``` Installs to `%LOCALAPPDATA%\Programs\cship\cship.exe`, writes config to `%USERPROFILE%\.config\cship.toml`, and registers the statusline in `%APPDATA%\Claude\settings.json`. -> You can inspect the script before running: [install.ps1](https://raw.githubusercontent.com/stephenleo/cship/main/install.ps1) +> You can inspect the script before running: [install.ps1](https://cship.dev/install.ps1) ### 📦 Method 2: cargo install diff --git a/docs/.gitignore b/docs/.gitignore index 9eefe5c..2ab3fd6 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -2,4 +2,5 @@ node_modules .vitepress/dist .vitepress/cache public/install.sh +public/install.ps1 public/examples diff --git a/docs/index.md b/docs/index.md index 2b127a8..1e15018 100644 --- a/docs/index.md +++ b/docs/index.md @@ -51,12 +51,12 @@ Auto-detects your OS and architecture (macOS arm64/x86_64, Linux x86_64/aarch64) Run this one-liner in PowerShell (5.1 or later): ```powershell -irm https://raw.githubusercontent.com/stephenleo/cship/main/install.ps1 | iex +irm https://cship.dev/install.ps1 | iex ``` Installs to `%LOCALAPPDATA%\Programs\cship\cship.exe`, writes config to `%USERPROFILE%\.config\cship.toml`, and registers the statusline in `%APPDATA%\Claude\settings.json`. -> You can inspect the script before running: [install.ps1](https://raw.githubusercontent.com/stephenleo/cship/main/install.ps1) +> You can inspect the script before running: [install.ps1](https://cship.dev/install.ps1) ### Cargo Install {#install-cargo}