[AI] Align install-chip hover with main CLI snippet #7
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: Website Deployment | |
| on: | |
| push: | |
| # Only deploy upon new commits to `main` | |
| branches: | |
| - main | |
| # Only run this workflow if there are changes in the following | |
| paths: | |
| - packages/the-framework.ai/** | |
| - .github/workflows/website-deploy.yml | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - run: pnpm install | |
| - run: pnpm run build | |
| - run: pnpm run website:test | |
| - run: pnpm run website:build | |
| # public/ ships `CNAME` and `.nojekyll` into dist/client/, so `clean: true` | |
| # can wipe the branch on each deploy without losing them. | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| with: | |
| branch: gh-pages | |
| folder: packages/the-framework.ai/dist/client | |
| # Remove previous build files | |
| clean: true | |
| # Remove history — avoiding exploding Git repository size | |
| single-commit: true | |
| permissions: | |
| contents: write |