aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-03-30 23:21:38 -0700
committerDhravya <[email protected]>2024-03-30 23:21:38 -0700
commit7565814c09be1e43fa0b02d0408974c98c942ff9 (patch)
tree1d40bbd3007e39d424669f00fb99e5d473783109 /.github/workflows
parentupload to proper place (diff)
downloadsupermemory-7565814c09be1e43fa0b02d0408974c98c942ff9.tar.xz
supermemory-7565814c09be1e43fa0b02d0408974c98c942ff9.zip
build properly
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml21
1 files changed, 16 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f6a64de6..8bc1467e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,10 +23,21 @@ jobs:
with:
bun-version: latest
- - name: Deploy to Cloudflare Workers with Wrangler
- uses: cloudflare/[email protected]
+ - name: Install packages
+ run: bun i
+ shell: bash
+
+ - name: Build app
+ run: bun run build
+ working-directory: apps/web
+ shell: bash
+
+ - name: Publish to Cloudflare Pages
+ uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
- packageManager: bun
- workingDirectory: apps/web
- command: bun run build \ No newline at end of file
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
+ projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
+ directory: apps/web/.vercel/output/static
+ gitHubToken: ${{ secrets.GITHUB_TOKEN }}
+ branch: main