fortyfive/static-site-pipeline-sync 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fortyfive/static-site-pipeline-sync

Composer 安装命令:

composer require fortyfive/static-site-pipeline-sync

包简介

Gives Craft CMS the ability to trigger AWS CodeBuild projects to update the content of static sites. (where the content source is of course Craft CMS)

README 文档

README

This plugin facilitates publishing content to static generator tools (e.g. Gatsby) when the build / publishing process is hosted on AWS. It provides a simple interface that allows users to push content from Craft CMS to an AWS CodeBuild project.

Requirements

  • This plugin requires Craft CMS 3.2.0 or later
  • A valid AWS user with an access key and secret (with CodeBuild and S3 access policies)
  • An AWS CodeBuild project
  • An S3 bucket to upload output artifacts
  • A valid Git URL repository (Github or BitBucket)

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require fortyfive/staticsite-pipeline-sync /static-site-pipeline-sync
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Static Site Pipeline Sync.

4.- Go to the Plugin Settings and set the data required there.

Using Static Site Pipeline Sync

  1. Be sure that all the Plugin settings are in place and that are correct.

  2. Pay special attention to the Project Settings table, make sure you relate the right Git branch to the correct CodeBuild Project, otherwise you could end up publishing changes to the wrong environment.

  3. After all settings are properly saved, an additional menu option appears on the Utilities menu called Push Content, follow the instructions and you should be able to trigger builds from within Craft CMS.

From the desk of 45RPM

统计信息

  • 总下载量: 132
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固