docs(whitepaper): add cognitive framework capability as core value pr… #18
This file contains hidden or 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: Deploy DPML Website | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'apps/website/**' | |
| - 'specs/v1.0/**' | |
| - '.github/workflows/deploy-website.yml' | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| name: Deploy to Cloudflare Pages | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.7.0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Sync specifications | |
| working-directory: apps/website | |
| run: pnpm sync:specs | |
| - name: Build website | |
| working-directory: apps/website | |
| run: pnpm build | |
| - name: Deploy to Cloudflare Pages | |
| working-directory: apps/website | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| run: npx wrangler pages deploy docs/.vitepress/dist --project-name=dpml-website |