chore: remove old docs deployment (#4626)
This commit is contained in:
51
.github/workflows/deploy-docs.yml
vendored
51
.github/workflows/deploy-docs.yml
vendored
@@ -1,51 +0,0 @@
|
||||
|
||||
name: deploy docs
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/deploy-docs.yml'
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
deploy-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-bun
|
||||
with:
|
||||
working-directory: ./docs
|
||||
|
||||
- name: Cache build
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
docs/.next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}
|
||||
${{ runner.os }}-nextjs-
|
||||
|
||||
- name: Generate llms.txt and llms-full.txt
|
||||
run: |
|
||||
bun run docs:llms
|
||||
bun run docs:llms-full
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
bun --cwd docs build
|
||||
touch docs/out/.nojekyll
|
||||
|
||||
- name: Deploy docs to GitHub Pages
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: docs/out
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
40
.github/workflows/test-build-docs.yml
vendored
40
.github/workflows/test-build-docs.yml
vendored
@@ -1,40 +0,0 @@
|
||||
|
||||
name: Test Docs build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/test-build-docs.yml'
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-bun
|
||||
with:
|
||||
working-directory: ./docs
|
||||
|
||||
- name: Cache build
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
docs/.next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}
|
||||
${{ runner.os }}-nextjs-
|
||||
|
||||
- name: Generate llms.txt and llms-full.txt
|
||||
run: |
|
||||
bun run docs:llms
|
||||
bun run docs:llms-full
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
bun --cwd docs build
|
||||
touch docs/out/.nojekyll
|
||||
@@ -1,15 +1,3 @@
|
||||
# react-native-video-docs
|
||||
|
||||
This is the documentation for the [react-native-video](github.com/TheWidlarzGroup/react-native-video).
|
||||
Project is using [bun](https://bun.sh) to build and run the documentation.
|
||||
Framework for static site generation is [Nextra](https://nextra.site/docs)
|
||||
|
||||
```bash
|
||||
bun install
|
||||
```
|
||||
|
||||
To run:
|
||||
|
||||
```bash
|
||||
bun run dev
|
||||
```
|
||||
Documentation have been moved to [`v7`](https://github.com/TheWidlarzGroup/react-native-video/tree/v7/docs) branch. Any changes should be made there. Any changes to `v7` branch will be automatically deployed to [docs.thewidlarzgroup.com](https://docs.thewidlarzgroup.com/react-native-video). Changed made in `master` branch will be be ignored.
|
||||
|
||||
Reference in New Issue
Block a user