ECMaker / blog

https://blog.ec-maker.com/
0 stars 0 forks source link

Test/preview deploy #54

Closed u-ecmaker closed 6 months ago

u-ecmaker commented 6 months ago

51 Preview yaml の PR時の挙動test

github-actions[bot] commented 6 months ago

Deploy path: /home/runner/work/blog/blog/public Deploying to draft URL... ​ Netlify Build
──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.36.1 ​ ❯ Flags auth: nfp_MVuLCQfRRkn5rPK5YSGPMmMyFRHVQE441a4f deployId: 65e33acbdd2735c9e8e18624 dir: ./public open: false prod: false prodIfUnlocked: false site: 80899a26-cfcb-42f8-886e-c84364cdaae9 skipFunctionsCache: false ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context dev

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/65e33acbdd2735c9e8e18624 Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:65e33acbdd2735c9e8e18624 Website draft URL: https://65e33acbdd2735c9e8e18624--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag. netlify deploy --prod

u-ecmaker commented 6 months ago

Previewサイトが見れない。 image

github-actions[bot] commented 6 months ago

Deploy path: /home/runner/work/blog/blog/public Deploying to draft URL... ​ Netlify Build
──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.36.1 ​ ❯ Flags auth: nfp_MVuLCQfRRkn5rPK5YSGPMmMyFRHVQE441a4f deployId: 65e3afb5dd27351565e1864d dir: ./public open: false prod: false prodIfUnlocked: false site: 80899a26-cfcb-42f8-886e-c84364cdaae9 skipFunctionsCache: false ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context dev

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/65e3afb5dd27351565e1864d Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:65e3afb5dd27351565e1864d Website draft URL: https://65e3afb5dd27351565e1864d--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag. netlify deploy --prod

u-ecmaker commented 6 months ago

BuildActionToNetlify base はエラー

github-actions[bot] commented 6 months ago

Deploy path: /home/runner/work/blog/blog/public Deploying to draft URL... ​ Netlify Build
──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.36.1 ​ ❯ Flags auth: nfp_MVuLCQfRRkn5rPK5YSGPMmMyFRHVQE441a4f deployId: 65e3b55ad5105e19085d9da1 dir: ./public open: false prod: false prodIfUnlocked: false site: 80899a26-cfcb-42f8-886e-c84364cdaae9 skipFunctionsCache: false ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context dev

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/65e3b55ad5105e19085d9da1 Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:65e3b55ad5105e19085d9da1 Website draft URL: https://65e3b55ad5105e19085d9da1--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag. netlify deploy --prod

github-actions[bot] commented 6 months ago

Deploy path: /home/runner/work/blog/blog/.next Deploying to draft URL... ​ Netlify Build
──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.36.1 ​ ❯ Flags auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2 deployId: 65e3d5737dacf12374f978aa open: false prod: false prodIfUnlocked: false site: 80899a26-cfcb-42f8-886e-c84364cdaae9 skipFunctionsCache: false ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context dev

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/65e3d5737dacf12374f978aa Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:65e3d5737dacf12374f978aa Website draft URL: https://65e3d5737dacf12374f978aa--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag. netlify deploy --prod

github-actions[bot] commented 6 months ago

Deploy path: /home/runner/work/blog/blog/.next Deploying to draft URL... ​ Netlify Build
──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.36.1 ​ ❯ Flags auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2 deployId: 65e3f2bc42cf7e3bd01f9657 dir: ./.next open: false prod: false prodIfUnlocked: false site: 80899a26-cfcb-42f8-886e-c84364cdaae9 skipFunctionsCache: false ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context dev

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/65e3f2bc42cf7e3bd01f9657 Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:65e3f2bc42cf7e3bd01f9657 Website draft URL: https://65e3f2bc42cf7e3bd01f9657--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag. netlify deploy --prod

u-ecmaker commented 6 months ago

できた!

https://65e41183e2e47142748dee36--blog-ecmaker.netlify.app/
ただ、コメントが出てこない image

github-actions[bot] commented 6 months ago

​ Netlify Build
──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.36.1 ​ ❯ Flags {} ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context dev ​ ❯ Using Next.js Runtime - v4.41.3 ​ @netlify/plugin-nextjs (onPreBuild event)
──────────────────────────────────────────────────────────────── ​ No Next.js cache to restore. ​ (@netlify/plugin-nextjs onPreBuild completed in 579ms) ​ Build command from Netlify app
──────────────────────────────────────────────────────────────── ​ $ npm run build

ecmaker@0.1.0 build next build

info - Linting and checking validity of types...

./src/hooks/apiHooks/fetcher.ts 36:28 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any 49:29 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/algolia.ts 20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts 9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules info - Creating an optimized production build... info - Compiled successfully info - Collecting page data... info - Generating static pages (0/31) MyInputFileListComponent inputFiles null MyInputFileComponent inputFiles [] MyInputMultiFileListComponent inputFiles null MyInputMultiFileListControlComponent inputFiles null info - Generating static pages (7/31) info - Generating static pages (15/31) info - Generating static pages (23/31) info - Generating static pages (31/31) info - Finalizing page optimization...

Route (pages) Size First Load JS ┌ ● / (ISR: 1 Seconds) 1.85 kB 167 kB ├ /_app 0 B 165 kB ├ ○ /404 480 B 165 kB ├ λ /api/auth/[...nextauth] 0 B 165 kB ├ λ /api/hello 0 B 165 kB ├ λ /api/notion-blog/comments 0 B 165 kB ├ λ /api/notion-blog/likes/[page_id] 0 B 165 kB ├ ℇ /api/notion-blog/og 0 B 165 kB ├ λ /api/ogp 0 B 165 kB ├ ○ /contact 6.23 kB 298 kB ├ ○ /login 1.99 kB 167 kB ├ ● /posts (ISR: 1 Seconds) (631 ms) 16.7 kB 212 kB ├ ● /posts/[slug] (ISR: 1 Seconds) (26432 ms) 25.7 kB 370 kB ├ ├ /posts/notion-blog_google-analytics (4221 ms) ├ ├ /posts/RDP_remote-desktop (3631 ms) ├ ├ /posts/openAI-API (2210 ms) ├ ├ /posts/relocation (1950 ms) ├ ├ /posts/icon (1635 ms) ├ ├ /posts/nodejs_npm-audit-fix (1614 ms) ├ ├ /posts/notion-blog_image-size (1438 ms) ├ └ [+9 more paths] (avg 1081 ms) ├ ● /profile (380 ms) 2.02 kB 228 kB ├ ● /sandbox 829 B 196 kB ├ ○ /sandbox/input-file-list 1.54 kB 223 kB ├ ○ /sandbox/react-hook-form 21.3 kB 242 kB ├ ○ /sandbox/react-memo 857 B 222 kB ├ ○ /sandbox/react-use-memo 699 B 222 kB ├ ○ /sandbox/rive 24.4 kB 245 kB ├ ○ /sandbox/svgr 2.09 kB 223 kB └ ○ /sandbox/swr 1.04 kB 228 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components) λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps) ○ (Static) automatically rendered as static HTML (uses no initial props) ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps) (ISR) incremental static regeneration (uses revalidate in getStaticProps)

​ (build.command completed in 1m 5.1s) ​ @netlify/plugin-nextjs (onBuild event)
──────────────────────────────────────────────────────────────── ​ NextAuth package detected, NEXTAUTH_URL environment variable set by user in Netlify configuration to https://blog.ec-maker.com Moving static page files to serve from CDN... Moved 15 files to CDN The following routes use "revalidate" values of under 60 seconds, which is not supported. They will use a revalidate time of 60 seconds instead. ┌─────────┬─────────────────────────────────────────────┬────────────┐ │ (index) │ Route │ Revalidate │ ├─────────┼─────────────────────────────────────────────┼────────────┤ │ 0 │ '/' │ 1 │ │ 1 │ '/posts' │ 1 │ │ 2 │ '/posts/test-pr-review-deploy' │ 1 │ │ 3 │ '/posts/notion-blog_image-issue' │ 1 │ │ 4 │ '/posts/notion-blog_image-size' │ 1 │ │ 5 │ '/posts/RDP_remote-desktop' │ 1 │ │ 6 │ '/posts/logo' │ 1 │ │ 7 │ '/posts/relocation' │ 1 │ │ 8 │ '/posts/notion-blog_google-analytics' │ 1 │ │ 9 │ '/posts/BI_seikika' │ 1 │ │ 10 │ '/posts/notion-blog_getting-started' │ 1 │ │ 11 │ '/posts/next.js_TipTap_plugin' │ 1 │ │ 12 │ '/posts/nodejs_npm-audit-fix' │ 1 │ │ 13 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │ │ 14 │ '/posts/icon' │ 1 │ │ 15 │ '/posts/schedule-git' │ 1 │ │ 16 │ '/posts/github-pr-auto-branch' │ 1 │ │ 17 │ '/posts/openAI-API' │ 1 │ └─────────┴─────────────────────────────────────────────┴────────────┘ You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable. ✨ Deploying middleware and functions to Netlify Edge Functions ✨ ​ (@netlify/plugin-nextjs onBuild completed in 1.1s) ​ Functions bundling
──────────────────────────────────────────────────────────────── ​ Packaging Functions from .netlify/functions-internal directory:

Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/65e507a0d2776bea8dfb3ecb Function logs: https://app.netlify.com/sites/blog-ecmaker/functions?scope=deploy:65e507a0d2776bea8dfb3ecb Website draft URL: https://65e507a0d2776bea8dfb3ecb--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag. netlify deploy --build --prod