From 4e430ac78bdade4bb0cbbab8ae32c1d5a9d076ac Mon Sep 17 00:00:00 2001 From: sarahgm <38324334+sarahgm@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:19:12 +0200 Subject: [PATCH] docs[DST-112]: add link to old docs and remove deploy docs script (#3252) --- .github/workflows/docs.yml | 33 ------------------------- .github/workflows/release.yml | 10 -------- docs/app/_components/SiteNavigation.tsx | 14 ++++++++--- 3 files changed, 11 insertions(+), 46 deletions(-) delete mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 67a86f1b67..0000000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Deploy Docs - -on: workflow_dispatch - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - test: - name: Deploy Docs - runs-on: ubuntu-latest - env: - CI: true - steps: - # Setup - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2.2.4 # Uses version from package.json#packageManager - - name: Setup Node (using .node-version) - uses: actions/setup-node@v3 - with: - node-version-file: '.node-version' - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - # Action - - name: Build Docs - run: pnpm build:docs - - name: Deploy Docs to Github Pages - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: docs/out diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 836ee04485..e0bc73c80d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,16 +49,6 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_HOOK }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - # Deploy Docs - - name: Build Docs - if: steps.changesets.outputs.published == 'true' - run: pnpm build:docs - - name: Deploy Docs to Github Pages - if: steps.changesets.outputs.published == 'true' - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: docs/out - # Deploy Docs on Vercel - name: Deploy Docs if: steps.changesets.outputs.published == 'true' diff --git a/docs/app/_components/SiteNavigation.tsx b/docs/app/_components/SiteNavigation.tsx index b579955818..d71e46e532 100644 --- a/docs/app/_components/SiteNavigation.tsx +++ b/docs/app/_components/SiteNavigation.tsx @@ -1,14 +1,22 @@ -import { Split } from '@/ui'; +import { Text, Link } from '@/ui'; import { Logo } from './Logo'; import { ThemeMenu } from './ThemeMenu'; export const SiteNavigation = () => ( -