Skip to content

Commit

Permalink
🔧 chore: Update docs path
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik committed May 30, 2024
1 parent 2f7a6e5 commit c3b8a8f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: QA checks

on:
push:
branches:
- LOC-1358_setup_domain_for_localazy_cdn_documentation

jobs:
deploy-docs:
name: Deploy Docs
runs-on: [ self-hosted, Linux ]
env:
NODE_OPTIONS: --max_old_space_size=8192
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Build Docs
run: |
cd docs
npm ci
npm run build
- name: Update Docs Branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/.vitepress/dist
4 changes: 2 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export default defineConfig({
description: 'Localazy CDN Client Documentation',

lang: 'en-US',
base: '/',
base: '/cdn-client/',
head: head(),
lastUpdated: true,
markdown: markdown(),

sitemap: {
hostname: 'https://localazy.github.io/cdn-client/',
hostname: 'https://developer.localazy.com/cdn-client/',
},

themeConfig: {
Expand Down

0 comments on commit c3b8a8f

Please sign in to comment.