-
Notifications
You must be signed in to change notification settings - Fork 27
47 lines (38 loc) · 1.11 KB
/
docs-deploy-qa-pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
on:
push:
branches:
- main
- wip # V3
paths:
- "examples/stackflow-spa/**"
- "packages/recipe/**"
- "packages/stylesheet/**"
- "packages/react/**"
- "packages/stackflow/**"
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@v3
- uses: actions/setup-node@v3
with:
node-version: 20.11.0
cache: yarn
- name: Install Dependencies
run: yarn install --immutable
- name: Build Packages
run: yarn build-only-package
- name: Build QA app
working-directory: ./examples/stackflow-spa
run: |
yarn build
- name: Deploy qa app at Cloudflare Pages in `seed-design-qa` project
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy ./examples/stackflow-spa/dist --project-name=seed-design-qa --branch=main