Skip to content

Commit

Permalink
Use a /V2 for the v2 url because docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Oct 4, 2023
1 parent 9f28abe commit 2e0ef4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/v2-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,6 @@ on:
- "docs-v2-r*"

jobs:
v2-docs-local:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- run: |
cd website
yarn install
# rm -rf docusaurus.config.js # ensure we don't pick up legacy config
# yarn build:local
# rm -rf .docusaurus
# yarn build:prod
- uses: mxschmitt/action-tmate@v3
release:
runs-on: ubuntu-latest
steps:
Expand All @@ -35,9 +22,10 @@ jobs:
- run: |
cd website
yarn install
yarn docusaurus build --config ./docusaurus.config.local.js --out-dir build/local/site
yarn build:local
tar czvf ${{ github.ref_name }}.website.local.tgz -C build/local site
yarn docusaurus build --config ./docusaurus.config.prod.js --out-dir build/prod/site
rm -rf .docusaurus
yarn build:prod
tar czvf ${{ github.ref_name }}.website.prod.tgz -C build/prod site
cp *.tgz ..
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
title: 'Effection',
tagline: 'Structured Concurrency for JavaScript',
url: 'https://frontside.com',
baseUrl: '/v2/',
baseUrl: '/V2/',
onBrokenLinks: 'throw',
favicon: 'images/favicon-effection.png',
organizationName: 'thefrontside',
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
title: 'Effection',
tagline: 'Structured Concurrency for JavaScript',
url: 'https://frontside.com',
baseUrl: '/effection/v2/',
baseUrl: '/effection/V2/',
onBrokenLinks: 'throw',
favicon: 'images/favicon-effection.png',
organizationName: 'thefrontside',
Expand Down

2 comments on commit 2e0ef4d

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 2e0ef4d Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/www/main.ts".

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 2e0ef4d Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/www/main.ts".

Please sign in to comment.