Deploy details
Deploy successful for netlify-plugin-nextjs-export-demo
fix: correctly cache when using `next export`Deploy summary
1 plugin ran successfully
Essential Next.js plugin did not run
Build time: 1m 2s. Total deploy time: 1m 3s
Deploy log
2:28:17 PM: Build ready to start
2:28:19 PM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal)
2:28:19 PM: build-image tag: v4.5.3
2:28:19 PM: buildbot version: 9bc48650b0551281ca8258d0c32d371dd2b6993b
2:28:19 PM: Fetching cached dependencies
2:28:19 PM: Starting to download cache of 159.5MB
2:28:20 PM: Finished downloading cache in 864.517396ms
2:28:20 PM: Starting to extract cache
2:28:23 PM: Finished extracting cache in 2.851029861s
2:28:23 PM: Finished fetching cache in 3.74212273s
2:28:23 PM: Starting to prepare the repo for build
2:28:23 PM: Preparing Git Reference pull/1223/head
2:28:23 PM: Parsing package.json dependencies
2:28:24 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'demos/next-export/out' versus '.next' in the Netlify UI
2:28:24 PM: Detected ignore command in Netlify configuration file. Proceeding with the specified command: 'git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../../'
2:28:24 PM: Starting build script
2:28:24 PM: Installing dependencies
2:28:24 PM: Python version set to 2.7
2:28:25 PM: Started restoring cached node version
2:28:26 PM: Finished restoring cached node version
2:28:27 PM: v16.14.0 is already installed.
2:28:27 PM: Now using node v16.14.0 (npm v8.3.1)
2:28:27 PM: Started restoring cached build plugins
2:28:27 PM: Finished restoring cached build plugins
2:28:27 PM: Attempting ruby version 2.7.2, read from environment
2:28:28 PM: Using ruby version 2.7.2
2:28:29 PM: Using PHP version 8.0
2:28:29 PM: Started restoring cached go cache
2:28:29 PM: Finished restoring cached go cache
2:28:29 PM: go version go1.16.5 linux/amd64
2:28:29 PM: go version go1.16.5 linux/amd64
2:28:29 PM: Installing missing commands
2:28:29 PM: Verify run directory
2:28:30 PM:
2:28:30 PM: ────────────────────────────────────────────────────────────────
2:28:30 PM: Netlify Build
2:28:30 PM: ────────────────────────────────────────────────────────────────
2:28:30 PM:
2:28:30 PM: ❯ Version
2:28:30 PM: @netlify/build 26.3.3
2:28:30 PM:
2:28:30 PM: ❯ Flags
2:28:30 PM: baseRelDir: true
2:28:30 PM: buildId: 620e5b1933cb940008ca9f5d
2:28:30 PM: deployId: 620e5b1933cb940008ca9f5f
2:28:30 PM:
2:28:30 PM: ❯ Current directory
2:28:30 PM: /opt/build/repo/demos/next-export
2:28:30 PM:
2:28:30 PM: ❯ Config file
2:28:30 PM: /opt/build/repo/demos/next-export/netlify.toml
2:28:30 PM:
2:28:30 PM: ❯ Context
2:28:30 PM: deploy-preview
2:28:30 PM:
2:28:30 PM: ❯ Installing local plugins dependencies
2:28:30 PM: - ./local-plugin
2:29:12 PM:
2:29:12 PM: ❯ Loading plugins
2:29:12 PM: - ./local-plugin@1.0.0 from netlify.toml
2:29:13 PM:
2:29:13 PM: ────────────────────────────────────────────────────────────────
2:29:13 PM: 1. ./local-plugin (onPreBuild event)
2:29:13 PM: ────────────────────────────────────────────────────────────────
2:29:13 PM:
2:29:13 PM: Next.js cache restored.
2:29:13 PM: Not running Essential Next.js plugin
2:29:13 PM:
2:29:13 PM: (./local-plugin onPreBuild completed in 57ms)
2:29:13 PM:
2:29:13 PM: ────────────────────────────────────────────────────────────────
2:29:13 PM: 2. build.command from netlify.toml
2:29:13 PM: ────────────────────────────────────────────────────────────────
2:29:13 PM:
2:29:13 PM: $ next build && next export
2:29:14 PM: info - Checking validity of types...
2:29:16 PM: info - Creating an optimized production build...
2:29:17 PM: info - Compiled successfully
2:29:17 PM: info - Collecting page data...
2:29:18 PM: info - Generating static pages (0/4)
2:29:18 PM: info - Generating static pages (1/4)
2:29:18 PM: info - Generating static pages (2/4)
2:29:18 PM: info - Generating static pages (3/4)
2:29:18 PM: info - Generating static pages (4/4)
2:29:18 PM: info - Finalizing page optimization...
2:29:20 PM: Creating deploy upload records
2:29:18 PM: Page Size First Load JS
2:29:18 PM: ┌ ○ / 924 B 71.1 kB
2:29:18 PM: ├ /_app 0 B 70.2 kB
2:29:21 PM: Starting post processing
2:29:18 PM: ├ ○ /404 193 B 70.4 kB
2:29:18 PM: └ ○ /another 616 B 70.8 kB
2:29:21 PM: Post processing - HTML
2:29:18 PM: + First Load JS shared by all 70.2 kB
2:29:18 PM: ├ chunks/framework-71b7ac9748a53568.js 42 kB
2:29:18 PM: ├ chunks/main-0b2bde9a15aef57f.js 26.9 kB
2:29:18 PM: ├ chunks/pages/_app-38e68edd8b69f893.js 496 B
2:29:21 PM: Post processing - header rules
2:29:18 PM: ├ chunks/webpack-69bfa6990bb9e155.js 769 B
2:29:18 PM: └ css/27d177a30947857b.css 194 B
2:29:18 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
2:29:21 PM: Post processing - redirect rules
2:29:19 PM: info - using build directory: /opt/build/repo/demos/next-export/.next
2:29:19 PM: info - Copying "static build" directory
2:29:21 PM: Post processing done
2:29:19 PM: info - No "exportPathMap" found in "/opt/build/repo/demos/next-export/next.config.js". Generating map from "./pages"
2:29:19 PM: info - Launching 31 workers
2:29:19 PM: info - Exporting (0/3)
2:29:19 PM: info - Copying "public" directory
2:29:19 PM: info - Exporting (3/3)
2:29:19 PM: Export successful. Files written to /opt/build/repo/demos/next-export/out
2:29:19 PM:
2:29:19 PM: (build.command completed in 6.3s)
2:29:19 PM:
2:29:19 PM: ────────────────────────────────────────────────────────────────
2:29:19 PM: 3. ./local-plugin (onBuild event)
2:29:19 PM: ────────────────────────────────────────────────────────────────
2:29:19 PM:
2:29:19 PM:
2:29:19 PM: (./local-plugin onBuild completed in 4ms)
2:29:19 PM:
2:29:19 PM: ────────────────────────────────────────────────────────────────
2:29:19 PM: 4. ./local-plugin (onPostBuild event)
2:29:19 PM: ────────────────────────────────────────────────────────────────
2:29:19 PM:
2:29:19 PM: Next.js cache saved.
2:29:19 PM:
2:29:19 PM: (./local-plugin onPostBuild completed in 27ms)
2:29:19 PM:
2:29:19 PM: ────────────────────────────────────────────────────────────────
2:29:19 PM: 5. Deploy site
2:29:19 PM: ────────────────────────────────────────────────────────────────
2:29:19 PM:
2:29:19 PM: Starting to deploy site from 'demos/next-export/out'
2:29:19 PM: Creating deploy tree
2:29:21 PM: 0 new files to upload
2:29:21 PM: 0 new functions to upload
2:29:21 PM: Site deploy was successfully initiated
2:29:21 PM:
2:29:21 PM: (Deploy site completed in 1.4s)
2:29:21 PM:
2:29:21 PM: ────────────────────────────────────────────────────────────────
2:29:21 PM: Netlify Build Complete
2:29:21 PM: ────────────────────────────────────────────────────────────────
2:29:21 PM:
2:29:21 PM: (Netlify Build completed in 50.9s)
2:29:21 PM: Caching artifacts
2:29:21 PM: Started saving build plugins
2:29:21 PM: Finished saving build plugins
2:29:21 PM: Started saving pip cache
2:29:21 PM: Finished saving pip cache
2:29:21 PM: Started saving emacs cask dependencies
2:29:21 PM: Finished saving emacs cask dependencies
2:29:21 PM: Started saving maven dependencies
2:29:21 PM: Finished saving maven dependencies
2:29:21 PM: Started saving boot dependencies
2:29:21 PM: Finished saving boot dependencies
2:29:21 PM: Started saving rust rustup cache
2:29:21 PM: Finished saving rust rustup cache
2:29:21 PM: Started saving go dependencies
2:29:21 PM: Finished saving go dependencies
2:29:22 PM: Build script success
2:29:23 PM: Site is live ✨
2:29:43 PM: Finished processing build request in 1m24.453337691s