Skip to content

Commit

Permalink
added base_url, set entrypoint as docker action run
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiblaga89 committed Apr 9, 2024
1 parent 30c795c commit 98ca1f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/next.yml
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: test
run: |
export CONFIG=$(cat ./config.next.json | jq -r tostring)
export BASE_URL=https://docs-next.renative.org
echo $CONFIG
- name: Install Vercel CLI
run: npm install --global vercel@latest
Expand All @@ -39,3 +40,4 @@ jobs:
with:
image: algolia/docsearch-scraper
options: --env-file=algolia.env
run: pipenv run python -m src.index
2 changes: 1 addition & 1 deletion docusaurus.config.js
Expand Up @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer').themes.dracula;
const config = {
title: 'ReNative',
tagline: 'Unified Development Platform',
url: 'https://renative.org',
url: process.env.BASE_URL || 'https://renative.org',
baseUrl: '/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
Expand Down

0 comments on commit 98ca1f5

Please sign in to comment.