File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747
4848 deploy-registry :
4949 needs : check
50- if : github.ref == 'refs/heads/master' && github.event_name == 'push'
50+ if : github.event_name == 'push' && (github. ref == 'refs/heads/master' || github.ref == 'refs/heads/development')
5151 runs-on : ubuntu-latest
5252 steps :
5353 - name : Checkout
@@ -69,11 +69,19 @@ jobs:
6969 - name : Build Registry
7070 run : bun run build:registry
7171
72- - name : Deploy to Cloudflare Pages
72+ - name : Deploy Registry (production)
73+ if : github.ref == 'refs/heads/master'
74+ uses : cloudflare/wrangler-action@v3
75+ with :
76+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
77+ command : pages deploy dist/registry --project-name=shaderbase-registry --branch=master
78+
79+ - name : Deploy Registry (development)
80+ if : github.ref == 'refs/heads/development'
7381 uses : cloudflare/wrangler-action@v3
7482 with :
7583 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
76- command : pages deploy dist/registry --project-name=shaderbase-registry
84+ command : pages deploy dist/registry --project-name=shaderbase-registry --branch=development
7785
7886 # Web app deployment is pending — SolidJS + TanStack Start + Cloudflare Workers
7987 # has a known bundling issue (ssrStyleProperty not exported in worker mode).
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ WEB_APP_URL = "https://shaderbase.com"
1010name = " shaderbase-mcp-dev"
1111
1212[env .development .vars ]
13- REGISTRY_URL = " https://registry .shaderbase.com "
13+ REGISTRY_URL = " https://development .shaderbase-registry.pages.dev "
1414WEB_APP_URL = " https://blissful-acceptance-development.up.railway.app"
You can’t perform that action at this time.
0 commit comments