Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test docs job with sample PR #5541

Closed
wants to merge 11 commits into from
7 changes: 7 additions & 0 deletions .github/workflows/check_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Check PR

on: pull_request

env:
ACTIONS_RUNNER_DEBUG: true

jobs:
build:
if: github.repository_owner == 'pnp'
Expand Down Expand Up @@ -122,6 +125,10 @@ jobs:
run: npm ci
working-directory: docs

- name: Docs clear
run: npm run clear
working-directory: docs

- name: Build docs
run: npm run build
working-directory: docs
1 change: 1 addition & 0 deletions docs/docs/cmd/aad/group/group-user-list.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello world!
1 change: 1 addition & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config = {
favicon: 'img/favicon.ico',
organizationName: 'pnp',
projectName: 'cli-microsoft365',
trailingSlash: false,

i18n: {
defaultLocale: 'en',
Expand Down
5 changes: 5 additions & 0 deletions docs/src/config/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ const sidebars = {
type: 'doc',
label: 'group remove',
id: 'cmd/aad/group/group-remove'
},
{
type: 'doc',
label: 'group user list',
id: 'cmd/aad/group/group-user-list'
}
]
},
Expand Down