首页 > 解决方案 > GatsbyJS 完全跳过了部署步骤

问题描述

我有一个昨天晚上开始的问题。

我们有一个 Gatsby 安装,它从 Wordpress 中提取博客文章并部署到 AWS Amplify。当我们 push 时,Build 步骤看起来完全正常,但 Deploy 步骤只给我们以下内容:

2020-09-15T16:08:10 [INFO]: Starting Deployment
2020-09-15T16:08:10 [INFO]: Updating Edge config
uildId 0000000096
2020-09-15T16:08:18 [INFO]: Got archive: 510212896 bytes
2020-09-15T16:08:18 [INFO]: Archive unzipped: 7425 files
2020-09-15T16:09:06 [INFO]: Deployment complete

通常,有几百行告诉我们上传或跳过的 JS/HTML 文件。

据我们所知,我们的 WP 安装并没有发生什么大的变化,而发生了什么变化(一个新帖子)我们能够删除并清除缓存,但它没有解决任何问题。

Gatsby 也一样,已经完成了一些工作,但没有什么看起来像重大变化,而且我们最近没有更新任何模块。

此外,它在一个完全不同的 repo 上做了同样的事情,我们几个月没有碰过它!

有没有其他人经历过这个?

如果有帮助,这是我们的依赖项:

"@svgr/webpack": "^5.1.0",
"gatsby": "2.15.36",
"gatsby-image": "^2.2.30",
"gatsby-plugin-alias-imports": "^1.0.5",
"gatsby-plugin-catch-links": "^2.1.15",
"gatsby-plugin-feed": "^2.3.27",
"gatsby-plugin-google-tagmanager": "^2.1.15",
"gatsby-plugin-manifest": "^2.2.38",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-offline": "^3.2.6",
"gatsby-plugin-react-helmet": "^3.1.13",
"gatsby-plugin-remove-serviceworker": "^1.0.0",
"gatsby-plugin-sharp": "2.2.22",
"gatsby-plugin-sitemap": "^2.2.19",
"gatsby-plugin-split-css": "^1.0.2",
"gatsby-plugin-svgr": "^2.0.2",
"gatsby-remark-images": "^3.1.29",
"gatsby-source-apiserver": "^2.1.3",
"gatsby-source-filesystem": "^2.1.35",
"gatsby-source-wordpress": "^3.1.46",
"gatsby-source-youtube-v2": "^1.0.1",
"gatsby-transformer-remark": "^2.6.32",
"gatsby-transformer-sharp": "2.2.14",
"graphql": "^14.5.8",
"i18n-react": "^0.7.0",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-cookies": "^0.1.1",
"react-countup": "^4.2.3",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react-hubspot-form": "^1.3.7",
"react-lazyload": "^2.6.2",
"react-responsive-carousel": "^3.1.51",
"react-scroll": "^1.7.14",
"react-share": "^4.2.0",
"react-sticky": "^6.0.3",
"react-swipeable": "^5.5.1",
"react-text-loop": "^2.3.0"

谢谢 !

标签: wordpressgatsbyaws-amplify

解决方案


推荐阅读