File tree Expand file tree Collapse file tree 9 files changed +1177
-706
lines changed
Expand file tree Collapse file tree 9 files changed +1177
-706
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : Upload to Cloudflare Pages
3939 run : |
40- echo "<html><body>It works.</body></html>" > dist /index.html
41- npx wrangler pages deploy dist --project-name="featurevisor-example-cloudflare"
40+ echo "<html><body>It works.</body></html>" > datafiles /index.html
41+ npx wrangler pages deploy datafiles --project-name="featurevisor-example-cloudflare"
4242 env :
4343 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4444 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ npm-debug.log*
44.DS_Store
55
66dist
7+ datafiles
78out
Original file line number Diff line number Diff line change 1- archived : false
21description : country code in lower case (two lettered)
32type : string
Original file line number Diff line number Diff line change 11description : Device ID
22type : string
3- capture : true
Original file line number Diff line number Diff line change 11description : User ID
22type : string
3- capture : true
Original file line number Diff line number Diff line change 44
55bucketBy : userId
66
7- environments :
7+ rules :
88 staging :
9- rules :
10- - key : " 1"
11- segments : " *"
12- percentage : 100
9+ - key : everyone
10+ segments : " *"
11+ percentage : 100
1312 production :
14- rules :
15- - key : " 1"
16- segments : " *"
17- percentage : 80
13+ - key : everyone
14+ segments : " *"
15+ percentage : 80
Original file line number Diff line number Diff line change 44
55bucketBy : deviceId
66
7- environments :
7+ rules :
88 staging :
9- rules :
10- - key : " 1"
11- segments : " *"
12- percentage : 100
9+ - key : everyone
10+ segments : " *"
11+ percentage : 100
1312 production :
14- rules :
15- - key : " 1"
16- segments : " *"
17- percentage : 100
13+ - key : everyone
14+ segments : " *"
15+ percentage : 100
You can’t perform that action at this time.
0 commit comments