【问题标题】:Question about Gatsby, Contentful, Gitlab and S3关于 Gatsby、Contentful、Gitlab 和 S3 的问题
【发布时间】:2020-02-11 21:17:40
【问题描述】:

如何在 gitlab 中让 gatsby 观察内容的变化,然后 gitlab 会自动将其部署到 S3?帮助

我是初学者。

【问题讨论】:

标签: amazon-s3 gitlab gitlab-ci gatsby contentful


【解决方案1】:

首先,您应该将 Gatsby 站点设置为由 Gitlab 构建并部署到 S3。 Here is an blog post which goes through how to do that. 然后您可以使用 Contentful Gitlab webhook template 设置一个 webhook,当内容以 Contentful 发布时,将触发您在上面设置的 Gitlab 管道。

Here's an article written by Gitlab about deploying your project on Gitlab to S3。它并非特定于 Gatsby 或 Contentful,但也可能会有所帮助。

【讨论】:

    猜你喜欢
    • 2021-07-14
    • 2020-03-20
    • 2020-09-30
    • 2021-11-20
    • 2020-08-18
    • 2019-07-13
    • 2018-07-14
    • 1970-01-01
    • 2021-08-27
    相关资源
    最近更新 更多