Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-deploy-gh-pages

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-deploy-gh-pages

The default blueprint for ember-cli addons.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ember-cli-deploy-gh-pages

Make deploying to gh-pages great again!

An ember-cli-deploy plugin to build application a specified branch. Defaults to gh-pages to work right out of the box with GitHub.

Based heavily on @ef4's ember-cli-deploy-git.

Config

Configuration is optional, will work fine from the box. But for ease of access, some options are exposed

Installation

ember install ember-cli-deploy ember-cli-deploy-build ember-cli-deploy-gh-pages

A blueprint will run to generate config/deploy.js

From there, you will need to customize the following:

ENV['gh-pages'] = {
    force: process.env.gitForcePush,
    slack: {
      webhookURL: process.env.webhookURL,
      options: {
        channel: process.env.slackChannel
      },
      success (deploy) {
        return `
          Successfully deployed to ${deploy.branch}\n
          Visit at ${process.env.demoURL}
        `;
      },
      failure (error) {
         return error;
      }
    }
  };

Both the success and failure hooks are optional.

ember-cli-deploy Hooks Implemented

For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.

  • setup
  • configure
  • upload

Running

ember deploy <deployTarget>

Keywords

FAQs

Package last updated on 03 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc