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
31 changes: 11 additions & 20 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ on:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
group: docs-deploy
cancel-in-progress: false

jobs:
build:
name: Build Docs
deploy:
name: Build and Deploy Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -46,19 +44,12 @@ jobs:
- name: Build with VitePress
run: pnpm docs:build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
# Deploys to the litepost-docs Azure Static Web App (litepost.lykos.ai).
# The token is provisioned by lykos-infra envs/litepost-docs-prod.
- name: Deploy to Azure Static Web Apps
uses: Azure/static-web-apps-deploy@v1
with:
path: docs/.vitepress/dist

deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DOCS }}
action: upload
app_location: docs/.vitepress/dist
skip_app_build: true
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Built with Tauri, Rust, and React. Your requests, collections, and history live
plain JSON files on your machine and nowhere else.

[**Download**](https://github.com/LykosAI/LitePost/releases/latest) ·
[**Documentation**](https://lykos.ai/LitePost/) ·
[**Documentation**](https://litepost.lykos.ai/) ·
[**Report an issue**](https://github.com/LykosAI/LitePost/issues)

</div>
Expand Down Expand Up @@ -54,7 +54,7 @@ No sign-up, no telemetry. LitePost updates itself in-app when new releases ship.
- **Code generation** — copy any request as cURL, Python, JavaScript, C#, Go, or Ruby
- **Six themes** — from the warm default **Night Desk** to the paper-and-cobalt **Schematic** light theme

Full guides for everything live in the [documentation](https://lykos.ai/LitePost/).
Full guides for everything live in the [documentation](https://litepost.lykos.ai/).

## Development

Expand Down Expand Up @@ -86,7 +86,7 @@ cargo test # Rust backend (run inside src-tauri/)
### Docs site

The documentation is a [VitePress](https://vitepress.dev/) site in `docs/`,
deployed automatically to [lykos.ai/LitePost](https://lykos.ai/LitePost/) on merge:
deployed automatically to [litepost.lykos.ai](https://litepost.lykos.ai/) on merge:

```bash
pnpm docs:dev
Expand All @@ -96,7 +96,7 @@ pnpm docs:dev

Issues and pull requests are welcome. Branch from `main`, keep commits focused,
and make sure `pnpm test:run` and `cargo check` pass — CI enforces both. See the
[contributing guide](https://lykos.ai/LitePost/contributing) for details.
[contributing guide](https://litepost.lykos.ai/contributing) for details.

## License

Expand Down
5 changes: 2 additions & 3 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: 'LitePost',
description: 'A lightweight, cross-platform API testing application',
// Deployed to GitHub Pages (org domain): lykos.ai/LitePost/
base: '/LitePost/',
head: [['link', { rel: 'icon', href: '/LitePost/logo.png' }]],
// Deployed to an Azure Static Web App at https://litepost.lykos.ai
head: [['link', { rel: 'icon', href: '/logo.png' }]],

themeConfig: {
logo: '/logo.png',
Expand Down
Loading