Skip to content

Commit 651b1fa

Browse files
author
carlos bolanos
committed
deploy attempt 2
1 parent bac412f commit 651b1fa

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

.github/workflows/master.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ jobs:
3333

3434
- run: bun run build
3535

36-
- uses: cloudflare/wrangler-action@v3
36+
- run: ls -la
37+
38+
- run: ls -la ./build/client
39+
40+
- name: deploy
41+
uses: cloudflare/pages-action@v1
3742
with:
43+
projectName: cf-remix
44+
directory: "./build/client"
3845
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3946
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

app/root.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from "@remix-run/react";
88

99
import type { LinksFunction } from "@remix-run/node";
10-
import baselineStylesHref from "@phoenix-ui/baseline/compiled/baseline.css";
10+
import baselineStylesHref from "@phoenix-ui/baseline/compiled/baseline.css?url";
1111

1212
export const links: LinksFunction = () => [
1313
{ rel: "stylesheet", href: baselineStylesHref },

bun.lockb

1.27 KB
Binary file not shown.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@
3838
"eslint-plugin-jsx-a11y": "^6.7.1",
3939
"eslint-plugin-react": "^7.33.2",
4040
"eslint-plugin-react-hooks": "^4.6.0",
41+
"autoprefixer": "^10.4.19",
4142
"node-fetch": "^3.3.2",
4243
"typescript": "^5.1.6",
4344
"vite": "^5.1.0",
45+
"postcss": "^8.4.3",
4446
"tailwindcss": "^3.4.1",
4547
"vite-tsconfig-paths": "^4.2.1",
4648
"wrangler": "^3.48.0"

remix.conf.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/** @type {import('@remix-run/dev').AppConfig} */
2+
export default {
3+
ignoredRouteFiles: ["**/*.css"],
4+
// appDirectory: "app",
5+
// assetsBuildDirectory: "public/build",
6+
// publicPath: "/build/",
7+
// serverBuildPath: "build/index.js",
8+
serverDependenciesToBundle: [/^@phoenix-ui\//],
9+
};

0 commit comments

Comments
 (0)