Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@
# specific language governing permissions and limitations
# under the License.

name: Documentation CI
name: Docs CI

on:
pull_request:
paths:
- 'website/**'
- '.github/workflows/ci-docs.yml'

permissions:
contents: read

concurrency:
group: ci-docs-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -32,6 +36,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Setup pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,35 @@
# specific language governing permissions and limitations
# under the License.

name: Deploy Docusaurus to GitHub Pages
name: Docs Deploy

on:
push:
branches: [ main ]
paths:
- 'website/**'
- '.asf.yaml'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch:

permissions:
contents: read

concurrency:
group: deploy-docs
cancel-in-progress: false

jobs:
deploy:
if: github.repository == 'apache/fesod'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86
with:
Expand All @@ -38,6 +53,8 @@ jobs:
- uses: actions/setup-node@v7
with:
node-version: "24"
cache: pnpm
cache-dependency-path: website/pnpm-lock.yaml

- name: Corepack
working-directory: website
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,30 @@
# specific language governing permissions and limitations
# under the License.

name: Preview Documentation
name: Docs Preview

on:
pull_request:
paths:
- 'website/**'
- '.github/workflows/preview-docs.yml'

permissions:
contents: read
pull-requests: write

concurrency:
group: preview-docs-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Setup pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86
Expand Down
Loading