diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40d98b2..5ee536a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,7 +93,12 @@ jobs: - name: Prepare deployment run: | bun install -g edgeone vercel wrangler + unzip artifact/generate-output-${{ steps.commit-hash.outputs.short }}.zip -d dist - name: Deploy to Vercel run: | vercel --token ${{ secrets.VERCEL_TOKEN }} --prod --yes + + - name: Deploy to Edgeone + run: | + edgeone pages deploy ./dist --token ${{ secrets.EDGEONE_TOKEN }} --name ${{ env.EDGEONE_PROJECT_NAME }} diff --git a/nuxt.config.ts b/nuxt.config.ts index 14cfc4a..3ca14d3 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -26,8 +26,8 @@ export default defineNuxtConfig({ "@nuxt/content", "@nuxtjs/color-mode", "@nuxt/ui", - "@formkit/auto-animate", // "nuxt-umami", + "@formkit/auto-animate", ], vite: { @@ -148,4 +148,8 @@ export default defineNuxtConfig({ }, }, }, + + experimental: { + buildCache: true, + }, }); diff --git a/package.json b/package.json index 7f979a2..8513570 100644 --- a/package.json +++ b/package.json @@ -34,16 +34,16 @@ "@nuxtjs/robots": "5.6.7", "@nuxtjs/seo": "^3.3.0", "@nuxtjs/sitemap": "7.5.0", + "bcryptjs": "^3.0.3", "feed": "5.1.0", + "jsonwebtoken": "^9.0.3", "nuxt": "4.2.2", "nuxt-og-image": "5.1.13", "nuxt-umami": "3.2.1", + "pg": "^8.17.1", "twikoo": "^1.6.44", "typed.js": "^2.1.0", - "vue": "3.5.26", - "pg": "^8.17.1", - "bcryptjs": "^3.0.3", - "jsonwebtoken": "^9.0.3" + "vue": "3.5.26" }, "devDependencies": { "@iconify-json/fa": "1.2.2",