Skip to content

Commit a0c7f24

Browse files
committed
chore: disabled ci cf deployment for now & added build:site fixes.
1 parent 52292b3 commit a0c7f24

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
# https://developers.cloudflare.com/pages/how-to/use-direct-upload-with-continuous-integration
2-
# - Needs a CF Domain (so you can get CLOUDFLARE_ACCOUNT_ID)
1+
# # https://developers.cloudflare.com/pages/how-to/use-direct-upload-with-continuous-integration
2+
# # - Needs a CF Domain (so you can get CLOUDFLARE_ACCOUNT_ID)
33

4-
name: Cloudflare Pages Deployment
4+
# name: Cloudflare Pages Deployment
55

6-
on: [push]
7-
jobs:
8-
deploy:
9-
runs-on: ubuntu-latest
10-
permissions:
11-
contents: read
12-
deployments: write
13-
name: Deploy to Cloudflare Pages
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
- uses: oven-sh/setup-bun@v2
18-
- run: bun install --frozen-lockfile
19-
- run: bun run build:site
20-
- name: Deploy
21-
uses: cloudflare/wrangler-action@v3
22-
with:
23-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
24-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
25-
command: pages deploy apps/site/dist/client --project-name=solid-number-flow --branch=${{ github.ref_name }} --commit-dirty
26-
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
6+
# on: [push]
7+
# jobs:
8+
# deploy:
9+
# runs-on: ubuntu-latest
10+
# permissions:
11+
# contents: read
12+
# deployments: write
13+
# name: Deploy to Cloudflare Pages
14+
# steps:
15+
# - name: Checkout
16+
# uses: actions/checkout@v4
17+
# - uses: oven-sh/setup-bun@v2
18+
# - run: bun install --frozen-lockfile
19+
# - run: bun run build:site
20+
# - name: Deploy
21+
# uses: cloudflare/wrangler-action@v3
22+
# with:
23+
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
24+
# accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
25+
# command: pages deploy apps/site/dist/client --project-name=solid-number-flow --branch=${{ github.ref_name }} --commit-dirty
26+
# gitHubToken: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dev": "bun run --filter solid-number-flow dev",
1818
"build": "bun run --filter solid-number-flow build",
1919
"dev:site": "bun run --filter site dev",
20-
"build:site": "bun run --filter site build",
20+
"build:site": "bun run --filter solid-number-flow build && bun run --filter site build",
2121
"preview:site": "bun run --filter site preview",
2222
"test": "bun run --filter solid-number-flow test",
2323
"lint": "bun run --filter '*' lint",

0 commit comments

Comments
 (0)