chore(scope): Change scope to @brainly-gene #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish-and-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.12.0 | |
- name: Setup Node.js | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 | |
with: | |
node-version: '18.20.0' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build docs site | |
run: pnpm nx run docs-docs-site:build | |
- name: Export docs site | |
run: pnpm nx run docs-docs-site:export | |
- name: Deploy docs site | |
uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/docs-site/out |