mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-02 02:37:33 +00:00
chore: remove docs releated actions
This commit is contained in:
39
.github/workflows/publish-blog.yml
vendored
39
.github/workflows/publish-blog.yml
vendored
@@ -1,39 +0,0 @@
|
||||
name: "Publish : Blog"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- "packages/noco-blog/**"
|
||||
|
||||
jobs:
|
||||
copy-file:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22.12.0
|
||||
- name: Build blogs
|
||||
run: |
|
||||
cd packages/noco-blog
|
||||
npm install
|
||||
npm run generate
|
||||
|
||||
|
||||
- name: Pushes generated output
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
|
||||
with:
|
||||
clear_folder: 'docs/dist'
|
||||
source_file: 'packages/noco-blog/dist/'
|
||||
destination_repo: 'nocodb/noco-blog'
|
||||
destination_folder: 'docs'
|
||||
user_email: 'oof1lab@gmail.com'
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb/packages/noco-blog'
|
||||
42
.github/workflows/publish-dev-docs.yml
vendored
42
.github/workflows/publish-dev-docs.yml
vendored
@@ -1,42 +0,0 @@
|
||||
name: "Publish : Docs (Develop)"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop ]
|
||||
paths:
|
||||
- "packages/noco-docs/**"
|
||||
release:
|
||||
types: [ published ]
|
||||
# Triggered manually
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
copy-file:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22.12.0
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd packages/noco-docs
|
||||
npm install
|
||||
npm run generate
|
||||
|
||||
|
||||
- name: Pushes generated output
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
|
||||
with:
|
||||
source_file: 'packages/noco-docs/dist/'
|
||||
clear_folder: 'docs/dist'
|
||||
destination_repo: 'nocodb/noco-docs-dev'
|
||||
destination_folder: 'docs'
|
||||
user_email: 'oof1lab@gmail.com'
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease docs in develop branch'
|
||||
@@ -1,28 +0,0 @@
|
||||
name: "Publish : Docs search index (Typesense)"
|
||||
|
||||
on:
|
||||
# Triggered manually
|
||||
workflow_dispatch:
|
||||
repository_dispatch:
|
||||
types: trigger-docs-index
|
||||
|
||||
jobs:
|
||||
doc-indexer:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3 # You MUST checkout your repository first!
|
||||
|
||||
- name: Run DocSearch Scraper
|
||||
uses: celsiusnarhwal/typesense-scraper@v2
|
||||
with:
|
||||
# The secret containing your Typesense API key. Required.
|
||||
api-key: ${{ secrets.TYPESENSE_API_KEY }}
|
||||
# The hostname or IP address of your Typesense server. Required.
|
||||
host: ${{ secrets.TYPESENSE_HOST }}
|
||||
# The port on which your Typesense server is listening. Optional. Default: 8108.
|
||||
port: 443
|
||||
# The protocol to use when connecting to your Typesense server. Optional. Default: http.
|
||||
protocol: https
|
||||
# The path to your DocSearch config file. Optional. Default: docsearch.config.json.
|
||||
config: ./packages/noco-docs/typesense-scrape-config.json
|
||||
39
.github/workflows/publish-docs.yml
vendored
39
.github/workflows/publish-docs.yml
vendored
@@ -1,39 +0,0 @@
|
||||
name: "Publish : Docs"
|
||||
|
||||
on:
|
||||
# Triggered manually
|
||||
workflow_dispatch:
|
||||
# Triggered by release-nocodb.yml
|
||||
workflow_call:
|
||||
secrets:
|
||||
GH_TOKEN:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
copy-file:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22.12.0
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd packages/noco-docs
|
||||
npm install
|
||||
npm run generate
|
||||
- name: Pushes generated output
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
|
||||
with:
|
||||
source_file: 'packages/noco-docs/dist/'
|
||||
clear_folder: 'docs/dist'
|
||||
destination_repo: 'nocodb/noco-docs'
|
||||
destination_folder: 'docs'
|
||||
user_email: 'oof1lab@gmail.com'
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb/packages/noco-docs'
|
||||
41
.github/workflows/publish-prev-docs.yml
vendored
41
.github/workflows/publish-prev-docs.yml
vendored
@@ -1,41 +0,0 @@
|
||||
name: "Publish : Docs with < v0.90"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# push:
|
||||
# branches: [ master ]
|
||||
# paths:
|
||||
# - "packages/noco-docs-prev/**"
|
||||
# release:
|
||||
# types: [ published ]
|
||||
|
||||
jobs:
|
||||
copy-file:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22.12.0
|
||||
- name: Build prev docs
|
||||
run: |
|
||||
cd packages/noco-docs-prev
|
||||
npm install
|
||||
npm run generate
|
||||
|
||||
|
||||
- name: Pushes generated output
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
|
||||
with:
|
||||
source_file: 'packages/noco-docs-prev/dist/'
|
||||
clear_folder: 'docs/dist'
|
||||
destination_repo: 'nocodb/noco-docs-prev'
|
||||
destination_folder: 'docs'
|
||||
user_email: 'wingkwong.code@gmail.com'
|
||||
user_name: 'wingkwong'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb/packages/noco-docs-prev'
|
||||
28
.github/workflows/validate-docs-links.yml
vendored
28
.github/workflows/validate-docs-links.yml
vendored
@@ -1,28 +0,0 @@
|
||||
name: "Validate: Docs"
|
||||
|
||||
on:
|
||||
# Triggered manually
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize, ready_for_review, labeled]
|
||||
branches: [develop]
|
||||
paths:
|
||||
- "packages/noco-docs/**"
|
||||
|
||||
jobs:
|
||||
validate-docs:
|
||||
runs-on: [self-hosted, aws]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22.12.0
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd packages/noco-docs
|
||||
npm install
|
||||
npm run generate
|
||||
npm run remark:once
|
||||
@@ -1,12 +0,0 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Run::Docs" type="js.build_tools.npm">
|
||||
<package-json value="$PROJECT_DIR$/packages/noco-docs/package.json" />
|
||||
<command value="run" />
|
||||
<scripts>
|
||||
<script value="dev" />
|
||||
</scripts>
|
||||
<node-interpreter value="project" />
|
||||
<envs />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
20092
packages/noco-docs/package-lock.json
generated
20092
packages/noco-docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,78 +0,0 @@
|
||||
{
|
||||
"name": "noco-docs",
|
||||
"version": "1.1.0",
|
||||
"private": true,
|
||||
"author": {
|
||||
"name": "NocoDB Inc",
|
||||
"url": "https://nocodb.com/"
|
||||
},
|
||||
"homepage": "https://github.com/nocodb/nocodb",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nocodb/nocodb.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/nocodb/nocodb/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
"start": "docusaurus start",
|
||||
"build": "docusaurus build --out-dir dist",
|
||||
"generate": "docusaurus build --out-dir dist",
|
||||
"swizzle": "docusaurus swizzle",
|
||||
"clear": "docusaurus clear",
|
||||
"serve": "docusaurus serve --dir dist",
|
||||
"write-translations": "docusaurus write-translations",
|
||||
"write-heading-ids": "docusaurus write-heading-ids",
|
||||
"typecheck": "tsc",
|
||||
"remark": "remark",
|
||||
"remark:once": "npm run remark -- --quiet --frail --use remark-validate-links docs/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.8.0",
|
||||
"@docusaurus/plugin-client-redirects": "3.8.0",
|
||||
"@docusaurus/plugin-ideal-image": "3.8.0",
|
||||
"@docusaurus/plugin-sitemap": "3.8.0",
|
||||
"@docusaurus/preset-classic": "3.8.0",
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"clsx": "^2.1.1",
|
||||
"dayjs": "^1.11.13",
|
||||
"docusaurus-plugin-sass": "^0.2.6",
|
||||
"docusaurus-theme-search-typesense": "^0.24.0",
|
||||
"nc-analytics": "^0.0.9",
|
||||
"plugin-image-zoom": "github:flexanalytics/plugin-image-zoom",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"sass": "^1.89.0"
|
||||
},
|
||||
"overrides": {
|
||||
"typesense-docsearch-react": {
|
||||
"react": "$react",
|
||||
"react-dom": "$react-dom"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "3.8.0",
|
||||
"@tsconfig/docusaurus": "^2.0.3",
|
||||
"remark-cli": "^12.0.1",
|
||||
"remark-validate-links": "^13.0.1",
|
||||
"typescript": "~5.6.2"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.5%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.20.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user