Skip to content

Commit

Permalink
change around deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gvkhna committed May 31, 2024
1 parent 74b37c6 commit 8a41cd1
Show file tree
Hide file tree
Showing 3 changed files with 2,440 additions and 2,734 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ jobs:
- name: Build with Astro
working-directory: ${{ env.BUILD_PATH }}
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_PROJECT_NAME: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLIC_GITHUB_CLIENT_ID: ${{ vars.PUBLIC_GITHUB_CLIENT_ID }}
PUBLIC_WEB_HOSTNAME: ${{ vars.PUBLIC_WEB_HOSTNAME }}
run: |
pnpm run proto
pnpm astro build
- name: Deploy to Cloudflare
working-directory: ${{ env.BUILD_PATH }}
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_PROJECT_NAME: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
run: |
pnpm wrangler d1 migrations apply warpdive-db --remote --env production
pnpm wrangler pages deploy ${{ env.BUILD_PATH }}/dist --project-name ${{ env.CLOUDFLARE_PROJECT_NAME}}
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"@astrojs/mdx": "^2.3.1",
"@astrojs/node": "^8.2.5",
"@astrojs/partytown": "^2.1.0",
"@astrojs/react": "^3.3.4",
"@astrojs/sitemap": "^3.1.4",
"@astrojs/react": "^3.4.0",
"@astrojs/sitemap": "^3.1.5",
"@astrojs/tailwind": "^5.1.0",
"@cloudflare/workers-types": "^4.20240512.0",
"@cloudflare/workers-types": "^4.20240529.0",
"@hono/zod-validator": "^0.2.1",
"@hookform/resolvers": "^3.4.2",
"@protobuf-ts/plugin": "^2.9.4",
Expand Down Expand Up @@ -64,8 +64,8 @@
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.7",
Expand All @@ -75,20 +75,20 @@
"@types/aos": "^3.0.7",
"@types/debug": "^4.1.12",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-transition-group": "^4.4.10",
"@types/react-window": "^1.8.8",
"@types/react": "^18.3.2",
"@types/uuid": "^9.0.8",
"alpinejs": "^3.13.10",
"astro-compress": "^2.2.23",
"alpinejs": "^3.14.0",
"astro": "^4.9.2",
"astro-compress": "^2.2.26",
"astro-compressor": "^0.4.1",
"astro-critters": "^2.1.7",
"astro-critters": "^2.1.9",
"astro-heroicons": "^2.1.1",
"astro-i18next": "1.0.0-beta.21",
"astro-robots-txt": "^1.0.0",
"astro-seo": "^0.8.3",
"astro": "^4.8.5",
"bignumber.js": "^9.1.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand All @@ -97,78 +97,78 @@
"dotenv": "^16.4.5",
"drizzle-orm": "^0.30.10",
"embla-carousel-react": "^8.1.3",
"hono": "^4.3.8",
"hono": "^4.4.2",
"input-otp": "^1.2.4",
"jotai": "^2.8.0",
"jotai": "^2.8.2",
"lodash-es": "^4.17.21",
"lucide-react": "^0.378.0",
"memoize-one": "^6.0.0",
"next-themes": "^0.3.0",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.51.4",
"react-hook-form": "^7.51.5",
"react-resizable-panels": "^2.0.19",
"react-router-dom": "^6.23.1",
"react-transition-group": "^4.4.5",
"react-virtualized-auto-sizer": "^1.0.24",
"react-window": "^1.8.10",
"react": "^18.3.1",
"sanitize-filename": "^1.6.3",
"sanitize-html": "^2.13.0",
"sharp": "^0.33.4",
"sonner": "^1.4.41",
"swiper": "8.4.7",
"swr": "^2.2.5",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"tailwindcss": "^3.4.3",
"ulid-workers": "^2.1.0",
"tailwindcss-animate": "^1.0.7",
"ulid": "^2.3.0",
"ulid-workers": "^2.1.0",
"use-resize-observer": "^9.1.0",
"vaul": "^0.9.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-interactions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",
"@storybook/addon-onboarding": "^8.1.1",
"@storybook/blocks": "^8.1.1",
"@storybook/preview-api": "^8.1.3",
"@storybook/react": "^8.1.1",
"@storybook/react-vite": "^8.1.1",
"@storybook/test": "^8.1.1",
"@storybook/addon-essentials": "^8.1.5",
"@storybook/addon-interactions": "^8.1.5",
"@storybook/addon-links": "^8.1.5",
"@storybook/addon-onboarding": "^8.1.5",
"@storybook/blocks": "^8.1.5",
"@storybook/preview-api": "^8.1.5",
"@storybook/react": "^8.1.5",
"@storybook/react-vite": "^8.1.5",
"@storybook/test": "^8.1.5",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"autoprefixer": "^10.4.19",
"cssnano": "^7.0.1",
"debug": "^4.3.4",
"debug": "^4.3.5",
"dedent-js": "^1.0.1",
"drizzle-kit": "^0.21.2",
"drizzle-kit": "^0.21.4",
"esbuild": "^0.20.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"glob": "^10.3.15",
"glob": "^10.4.1",
"jest": "^29.7.0",
"maildev": "^2.1.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.14",
"storybook": "^8.1.1",
"storybook": "^8.1.5",
"storybook-addon-fetch-mock": "^2.0.0",
"storybook-addon-remix-react-router": "^3.0.0",
"ts-jest": "^29.1.2",
"tsx": "^4.10.3",
"ts-jest": "^29.1.4",
"tsx": "^4.11.0",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite": "^5.2.12",
"vite-tsconfig-paths": "^4.3.2",
"wrangler": "^3.57.0"
"wrangler": "^3.58.0"
},
"optionalDependencies": {
"playwright": "1.44.1",
Expand Down
Loading

0 comments on commit 8a41cd1

Please sign in to comment.