Skip to content

Commit

Permalink
[code-infra] Refactor Netlify cache-docs plugin setup (#14105)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Aug 9, 2024
1 parent d6c7916 commit 5ad5cf3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
PNPM_FLAGS = "--shamefully-hoist"

[[plugins]]
package = "./node_modules/@mui/monorepo/packages/netlify-plugin-cache-docs"
package = "./packages/netlify-plugin-cache-docs"
2 changes: 0 additions & 2 deletions netlify/functions/deploy-succeeded.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const fetch = require('node-fetch');

/**
* @param {object} event
* @param {string} event.body - https://jsoneditoronline.org/#left=cloud.fb1a4fa30a4f475fa6887071c682e2c1
Expand Down
1 change: 1 addition & 0 deletions packages/netlify-plugin-cache-docs/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@mui/monorepo/packages/netlify-plugin-cache-docs');
1 change: 1 addition & 0 deletions packages/netlify-plugin-cache-docs/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: netlify-plugin-cache-docs

0 comments on commit 5ad5cf3

Please sign in to comment.