docs: using baseurl #995
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
| on: | |
| push: | |
| branches: | |
| - "**" | |
| paths: | |
| - "docs/**" | |
| - "examples/stackflow-spa/**" | |
| - "packages/css/**" | |
| - "packages/react/**" | |
| - "packages/stackflow/**" | |
| - ".github/workflows/docs-deploy-qa-pages.yml" | |
| workflow_dispatch: | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| name: Deploy seed-design-v3 QA app | |
| jobs: | |
| deploy: | |
| name: Deploy Seed Design V3 QA app | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.6" | |
| - name: Install Dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build Packages | |
| run: bun packages:build | |
| - name: Build QA app | |
| working-directory: ./examples/stackflow-spa | |
| run: | | |
| bun run build | |
| - name: Deploy qa app at Cloudflare Pages in `seed-design-qa` project | |
| run: | | |
| CLOUDFLARE_ACCOUNT_ID=${{ secrets.CF_ACCOUNT_ID }} \ | |
| CLOUDFLARE_API_TOKEN=${{ secrets.CF_API_TOKEN }} \ | |
| bun wrangler pages deploy ./examples/stackflow-spa/dist --project-name=seed-design-qa --branch=${{ github.ref_name }} |