File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,16 @@ jobs:
27
27
steps :
28
28
- name : Checkout
29
29
uses : actions/checkout@v4
30
- - uses : oven-sh/setup-bun@v1
31
30
- name : Install Deps
32
- run : bun install
31
+ run : npm install
33
32
34
33
- name : Build
35
- run : bunx nuxi build --preset=cloudflare_pages
34
+ run : npm run build --preset=cloudflare_pages
35
+
36
+ - uses : actions/upload-artifact@v4
37
+ with :
38
+ name : ${{env.PROJECT_NAME}}-dist
39
+ path : ./dist/
36
40
37
41
- name : Deploy
38
42
uses : cloudflare/wrangler-action@v3
42
46
with :
43
47
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
44
48
accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
45
- command : pages deploy ./dist --project-name "${{ env.PROJECT_NAME }}"
49
+ command : pages deploy ./.output --project-name "${{ env.PROJECT_NAME }}"
46
50
# secrets: |
47
51
# YOUR_SECRET
48
52
# YOUR_OTHER_SECRET
You can’t perform that action at this time.
0 commit comments