Skip to content

Commit 5f9ff42

Browse files
authored
chore(docs): Revert the revert "fix: rollback doc redirects" (add redirects) (#1761)
1 parent 2867617 commit 5f9ff42

File tree

5 files changed

+464
-315
lines changed

5 files changed

+464
-315
lines changed

.github/workflows/deploy_docs.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
name: Deploy Docs
1+
name: Deploy Docs Redirects
22

33
on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- main
107
workflow_dispatch:
118

129
permissions:
@@ -54,13 +51,7 @@ jobs:
5451
run: |
5552
yarn install --immutable --mode=skip-build
5653
57-
- name: Build llms-text
58-
run: |
59-
source .venv/bin/activate
60-
cd docs
61-
make llms-text
62-
63-
- name: Build site
54+
- name: Build site (redirects only)
6455
run: |
6556
yarn build
6657
source .venv/bin/activate
@@ -81,10 +72,3 @@ jobs:
8172
if: github.ref == 'refs/heads/main'
8273
id: deployment
8374
uses: actions/deploy-pages@v4
84-
85-
- name: Deploy Pull Request Preview
86-
if: github.event_name == 'pull_request'
87-
uses: actions/upload-artifact@v4
88-
with:
89-
name: pr-preview-${{ github.event.number }}
90-
path: ./docs/site/

0 commit comments

Comments
 (0)