File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : demo
2+ on :
3+ push :
4+ branches :
5+ - master
6+ paths :
7+ - " apps/synapse-playground/**"
8+ - .github/workflows/demo.yml
9+ workflow_dispatch :
10+ workflow_call :
11+ permissions :
12+ contents : read
13+ concurrency :
14+ group : demo
15+ cancel-in-progress : false
16+ jobs :
17+ publish :
18+ runs-on : ubuntu-latest
19+ if : github.ref_name == 'master'
20+ steps :
21+ - uses : actions/checkout@v6
22+ - uses : pnpm/action-setup@v4
23+ - uses : actions/setup-node@v6
24+ with :
25+ node-version : lts/*
26+ - run : pnpm install
27+ - run : pnpm run build
28+ - run : pnpm -r --filter synapse-playground run build
29+ - run : pnpx wrangler deploy --cwd synapse-playground --env production
30+ env :
31+ CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
32+ CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
You can’t perform that action at this time.
0 commit comments