Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
18 changes: 2 additions & 16 deletions .github/workflows/manual-publish-docs.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
name: Manual Publish Package
name: Manual Publish Docs
on:
workflow_dispatch:
inputs:
dry-run:
description: 'Is this a dry run. If so no package will be published.'
type: boolean
required: true
prerelease:
description: 'Is this a prerelease. If so, then the latest tag will not be updated in npm.'
type: boolean
required: true

permissions:
id-token: write
Expand All @@ -30,11 +21,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
- run: git submodule update --init --recursive

- uses: actions/checkout@v4
with:
path: gh-pages
ref: gh-pages

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
Expand All @@ -45,7 +31,7 @@ jobs:
run: yarn

- name: Build docs
run: yarn docs
run: yarn docs --filter highlight.run

- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.2
name: 'Publish to Github pages'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"scripts": {
"build": "yarn turbo run build --filter '!@rrweb/web-extension' --filter '!nextjs'",
"docs": "yarn turbo run docs",
"e2e:cloudflare": "yarn turbo run dev --filter cloudflare-worker...",
"e2e:express": "yarn turbo run dev --filter express...",
"e2e:nestjs": "yarn turbo run dev --filter nestjs",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
]
},
"docs": {
"dependsOn": ["^build"],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
Expand Down
Loading