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

grunt-mobify-cloud

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-mobify-cloud

A plugin for working with Mobify projects

  • 1.0.9
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

mobifyUpload

Push builds to the Mobify Cloud

Example config

mobifyUpload: {
    options: {
        projectName: 'mobify-test',
        settingsFile: './.local-settings'
    },
    src: ['bld/**', '!bld/test/test-credentials']
}

Refer to grunt's globbing patterns to specify file paths (http://gruntjs.com/api/grunt.file#globbing-patterns)

Optional Options

host

type: string

You can optionally specify the host of the endpoint where you want to upload your build. It defaults to cloud.mobify.com

options: {
    host: 'cloud-test.mobify.com'
}

message

type: string

You probably want to send up some sort of descriptive message with your build. When you run the grunt task you can specify your message like this:

grunt mobifyUpload --message="An informative and witty build message."

saveCredentials

save your email and mobify api_key for future use

This will store your email and api key in a file which can be accessed when you upload your builds to the mobify cloud. You can specify the location of the file in your Gruntfile like so:

saveCredentials: {
    src: '/Users/myself/.mobify'
}

Then to save your credentials run this command with your credentials:

grunt saveCredentials --user="user@mobify.com" --key="5up3rR4Nd0mK3y"

Deploy

To deploy this plugin you need to specify some environment variables that specify your github username and password.

export GITHUB_USERNAME='foobarnerson'
export GITHUB_PASSWORD='myaccesstoken'

Keywords

FAQs

Package last updated on 31 Mar 2014

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