Skip to content

Commit

Permalink
deploy attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos bolanos committed Apr 18, 2024
1 parent bac412f commit db2c382
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ jobs:

- run: bun run build

- uses: cloudflare/wrangler-action@v3
- run: ls -la

- run: ls -la ./build/client

- name: deploy
uses: cloudflare/pages-action@v1
with:
directory: "./build/client"
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from "@remix-run/react";

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

export const links: LinksFunction = () => [
{ rel: "stylesheet", href: baselineStylesHref },
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"autoprefixer": "^10.4.19",
"node-fetch": "^3.3.2",
"typescript": "^5.1.6",
"vite": "^5.1.0",
"postcss": "^8.4.3",
"tailwindcss": "^3.4.1",
"vite-tsconfig-paths": "^4.2.1",
"wrangler": "^3.48.0"
Expand Down
9 changes: 9 additions & 0 deletions remix.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('@remix-run/dev').AppConfig} */
export default {
ignoredRouteFiles: ["**/*.css"],
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// publicPath: "/build/",
// serverBuildPath: "build/index.js",
serverDependenciesToBundle: [/^@phoenix-ui\//],
};

0 comments on commit db2c382

Please sign in to comment.